[gui] Add missing interface declaration to IIOMetadataNode

Jerry Quinn jlquinn@optonline.net
Tue Dec 28 19:55:00 GMT 2004


Michael Koch wrote:
> Am Dienstag, 28. Dezember 2004 20:31 schrieb Jerry Quinn:
> 
>>Missed this bit.
>>
>>2004-12-28  Jerry Quinn  <jlquinn@optonline.net>
>>
>> * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
>> implemented interface list.
>>
>>Index: IIOMetadataNode.java
>>===================================================================
>>RCS file:
>>/cvs/gcc/gcc/libjava/javax/imageio/metadata/IIOMetadataNode.java,v
>>retrieving revision 1.1.12.2
>>retrieving revision 1.1.12.3
>>diff -u -r1.1.12.2 -r1.1.12.3
>>--- IIOMetadataNode.java 28 Dec 2004 18:55:49 -0000 1.1.12.2
>>+++ IIOMetadataNode.java 28 Dec 2004 19:27:43 -0000 1.1.12.3
>>@@ -51,7 +51,7 @@
>>  import org.w3c.dom.Node;
>>  import org.w3c.dom.NodeList;
>>
>>-public class IIOMetadataNode implements Element, NodeList
>>+public class IIOMetadataNode implements Element, Node, NodeList
> 
> 
> According to J2SE 1.4.2 and 1.5.0 online docs this is wrong.

Phoo.  I got confused looking at the docs.  If you look at the 1.4.2 docs, the 
"All Implemented Interfaces" section at the top shows Node, but the class decl 
right below doesn't include it.  The other thing is that the japi analysis 
claims that 1.4.2 has Node declared as an interface.

> Note that I had all this stuff on my disk already and wanted to commit 
> it next weekend.

I'll be happy to revert that bit if you want.  And if you want me to pull the 
whole pile out, I'll do that too.

Jerry



More information about the Java-patches mailing list