You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/10/13 16:03:08 UTC
svn commit: r824768 -
/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/DNSNameParser.java
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;
+ }
}