/[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.4 by green, Wed Sep 14 16:52:07 2005 UTC revision 1.5 by tromey, Sat Oct 1 18:48:46 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.4  
changed lines
  Added in v.1.5

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