* java/awt/image/ColorModel.java: Re-merged with Classpath.
* java/awt/image/ImageFilter.java: Likewise.
From-SVN: r63024
+2003-02-17 Tom Tromey <tromey@redhat.com>
+
+ * java/awt/image/ColorModel.java: Re-merged with Classpath.
+ * java/awt/image/ImageFilter.java: Likewise.
+
2003-02-17 Raif S. Naffah <raif@fl.net.au>
* java/math/BigInteger.java (euclidInv): Return array of
bits_sum |= bits [i];
}
- if ((bits.length < cspace.numComponents)
+ if ((bits.length < cspace.getNumComponents())
|| (bits_sum < 1))
throw new IllegalArgumentException ();
throw new IllegalArgumentException("null argument for ImageFilter.getFilterInstance(ImageConsumer)");
consumer = ic;
- try {
- ImageFilter f = (ImageFilter)clone();
- consumer = null;
- return f;
- } catch ( CloneNotSupportedException cnse ) {
- cnse.printStackTrace();
- consumer = null;
- return null;
- }
+ ImageFilter f = (ImageFilter)clone();
+ consumer = null;
+ return f;
}
/**