harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r824768 - /harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java
Date Tue, 13 Oct 2009 14:03:08 GMT
Author: tellison
Date: Tue Oct 13 14:03:08 2009
New Revision: 824768

URL: http://svn.apache.org/viewvc?rev=824768&view=rev
Log:
A simple hashCode implementation.

Modified:
    harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java

Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java?rev=824768&r1=824767&r2=824768&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java
Tue Oct 13 14:03:08 2009
@@ -120,4 +120,11 @@
         return false;
     }
 
+    /**
+     * Return the hashcode of the receiver.
+     */
+    @Override
+    public int hashCode() {
+        return 1;
+    }
 }



Mime
View raw message