Patch

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 UTC