[kaffe] CVS kaffe (robilad): Resynced with GNU Claqsspath: imageio spi fixes

Kaffe CVS cvs-commits at kaffe.org
Sat Oct 23 08:42:33 PDT 2004


PatchSet 5337 
Date: 2004/10/23 15:38:00
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with  GNU Claqsspath: imageio spi fixes

2004-10-23  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/javax/imageio/spi/ImageReaderSpi.java,
        libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:
        Resynced with GNU Classpath.

        2004-10-20  Michael Koch  <konqueror at gmx.de>

        * javax/imageio/spi/ImageReaderSpi.java
        (isOwnReader): New method.
        * javax/imageio/spi/ImageWriterSpi.java
        (isOwnWriter): Likewise.

Members: 
	ChangeLog:1.2889->1.2890 
	libraries/javalib/javax/imageio/spi/ImageReaderSpi.java:1.1->1.2 
	libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2889 kaffe/ChangeLog:1.2890
--- kaffe/ChangeLog:1.2889	Sat Oct 23 14:54:33 2004
+++ kaffe/ChangeLog	Sat Oct 23 15:38:00 2004
@@ -1,5 +1,18 @@
 2004-10-23  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/javax/imageio/spi/ImageReaderSpi.java,
+	libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:
+	Resynced with GNU Classpath.
+
+	2004-10-20  Michael Koch  <konqueror at gmx.de>
+
+        * javax/imageio/spi/ImageReaderSpi.java
+        (isOwnReader): New method.
+        * javax/imageio/spi/ImageWriterSpi.java
+        (isOwnWriter): Likewise.
+
+2004-10-23  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/javax/security/auth/login/NullConfiguration.java,
 	libraries/javalib/javax/security/auth/x500/X500Principal.java,
 	libraries/javalib/javax/security/cert/X509Certificate.java,
Index: kaffe/libraries/javalib/javax/imageio/spi/ImageReaderSpi.java
diff -u kaffe/libraries/javalib/javax/imageio/spi/ImageReaderSpi.java:1.1 kaffe/libraries/javalib/javax/imageio/spi/ImageReaderSpi.java:1.2
--- kaffe/libraries/javalib/javax/imageio/spi/ImageReaderSpi.java:1.1	Tue Oct  5 22:11:22 2004
+++ kaffe/libraries/javalib/javax/imageio/spi/ImageReaderSpi.java	Sat Oct 23 15:38:03 2004
@@ -110,4 +110,12 @@
   {
     return inputTypes;
   }
+
+  public boolean isOwnReader(ImageReader reader)
+  {
+    if (reader == null)
+      throw new IllegalArgumentException("reader may not be null");
+    
+    return pluginClassName.equals(reader.getClass().getName());
+  }
 }
Index: kaffe/libraries/javalib/javax/imageio/spi/ImageWriterSpi.java
diff -u kaffe/libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:1.1 kaffe/libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:1.2
--- kaffe/libraries/javalib/javax/imageio/spi/ImageWriterSpi.java:1.1	Tue Oct  5 22:11:22 2004
+++ kaffe/libraries/javalib/javax/imageio/spi/ImageWriterSpi.java	Sat Oct 23 15:38:03 2004
@@ -124,4 +124,12 @@
   {
     return true;
   }
+
+  public boolean isOwnWriter(ImageWriter writer)
+  {
+    if (writer == null)
+      throw new IllegalArgumentException("writer may not be null");
+
+    return pluginClassName.equals(writer.getClass().getName());
+  }
 }




More information about the kaffe mailing list