/[classpath]/classpath/gnu/CORBA/Version.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/Version.java

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

revision 1.3 by trebligd, Wed Sep 14 08:09:44 2005 UTC revision 1.4 by audriusa, Wed Sep 14 21:12:21 2005 UTC
# Line 99  public class Version Line 99  public class Version
99      Version that = (Version) other;      Version that = (Version) other;
100      return same(that);      return same(that);
101    }    }
102      
103      /**
104       * Get the hashcode, higher 8 bits being the major version and lower 8 bits
105       * the minor version.
106       */
107      public int hashCode()
108      {
109        return major << 8 | minor;
110      }    
111    
112    /**    /**
113     * Read from the input stream, major number first.     * Read from the input stream, major number first.
# Line 203  public class Version Line 212  public class Version
212          throw new MARSHAL("IOException while writing message header");          throw new MARSHAL("IOException while writing message header");
213        }        }
214    }    }
215    
216  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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