8144744: ImageWriter.replacePixels() specification is incorrect regarding null ImageWriteParam
authorjdv
Tue, 19 Jan 2016 11:14:41 +0530
changeset 35679 e4b92165fa8d
parent 35678 ad6cfe2f2e13
child 35680 6996d5f48225
8144744: ImageWriter.replacePixels() specification is incorrect regarding null ImageWriteParam Reviewed-by: prr, psadhukhan
jdk/src/java.desktop/share/classes/javax/imageio/ImageWriter.java
--- a/jdk/src/java.desktop/share/classes/javax/imageio/ImageWriter.java	Tue Jan 19 11:11:20 2016 +0530
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/ImageWriter.java	Tue Jan 19 11:14:41 2016 +0530
@@ -1482,7 +1482,6 @@
      * @exception IllegalArgumentException if any of the following are true:
      * <ul>
      * <li> {@code image} is {@code null}.
-     * <li> {@code param} is {@code null}.
      * <li> the intersected region does not contain at least one pixel.
      * <li> the layout of {@code image} does not match, or this
      * writer cannot convert it to, the existing image layout.
@@ -1543,7 +1542,6 @@
      * @exception IllegalArgumentException if any of the following are true:
      * <ul>
      * <li> {@code raster} is {@code null}.
-     * <li> {@code param} is {@code null}.
      * <li> the intersected region does not contain at least one pixel.
      * <li> the layout of {@code raster} does not match, or this
      * writer cannot convert it to, the existing image layout.