W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 1999

Patch

From: <gcberry@us.ibm.com>
Date: Fri, 16 Jul 1999 14:43:48 -0400
To: SiRPAC_list@us.ibm.com
Message-ID: <852567B0.0066E47E.00@d54mta04.raleigh.ibm.com>


Here's a patch that fixes a few random problems I've come across recently.

* org/w3c/rdf/Literal.java (equals): Change parameter to Object so this method
is
   used by Hashtable, Vector, etc.
  (hashCode): Use hashCode of String since equals is overridden.

* org/w3c/rdf/Property.java (equals, hashCode): Same as above.

* org/w3c/rdf/Resource.java (equals, hashCode): Same as above.

* org/w3c/rdf/Makefile (PACKAGE, FILES):  Change to actually reflect this
package.

* org/w3c/rdf/SiRPAC.java (characters): Make sure dataNode isn't null (as is the
 case for
   empty documents).

(See attached file: 1999-07-16.patch)


Received on Friday, 16 July 1999 14:44:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT