/[classpath]/classpath/gnu/java/security/x509/ext/Extension.java
ViewVC logotype

Diff of /classpath/gnu/java/security/x509/ext/Extension.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.4 by gnu_andrew, Tue Sep 20 18:46:24 2005 UTC revision 1.1.2.5 by gnu_andrew, Wed Nov 2 00:43:28 2005 UTC
# Line 274  public class Extension Line 274  public class Extension
274        return (byte[]) encoded;        return (byte[]) encoded;
275      }      }
276    
277        public int hashCode()
278        {
279          int result = 0;
280          for (int i = 0; i < encoded.length; ++i)
281            result = result * 31 + encoded[i];
282          return result;
283        }
284    
285      public boolean equals(Object o)      public boolean equals(Object o)
286      {      {
287        if (!(o instanceof Value))        if (!(o instanceof Value))

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26