You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2005/02/16 08:50:55 UTC

svn commit: r154006 - geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java

Author: jboynes
Date: Tue Feb 15 23:50:52 2005
New Revision: 154006

URL: http://svn.apache.org/viewcvs?view=rev&rev=154006
Log:
add final modifier to bring in line with J2SE1.5.0

Modified:
    geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java

Modified: geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java?view=diff&r1=154005&r2=154006
==============================================================================
--- geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java (original)
+++ geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java Tue Feb 15 23:50:52 2005
@@ -142,7 +142,7 @@
      * @return <code>true</code> if the given object is identical to this
      *      QName: <code>false</code> otherwise.
      */
-    public boolean equals(Object obj) {
+    public final boolean equals(Object obj) {
 
         if (obj == this) {
             return true;
@@ -207,7 +207,7 @@
      *
      * @return a hash code value for this Qname object
      */
-    public int hashCode() {
+    public final int hashCode() {
         return namespaceURI.hashCode() ^ localPart.hashCode();
     }