geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r154006 - geronimo/trunk/specs/qname/src/java/javax/xml/namespace/QName.java
Date Wed, 16 Feb 2005 07:50:55 GMT
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();
     }
 



Mime
View raw message