You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by tr...@apache.org on 2004/06/14 14:45:30 UTC

cvs commit: jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid Constants.java

treilly     2004/06/14 05:45:30

  Modified:    id/src/java/org/apache/commons/id/uuid Constants.java
  Log:
  2 New constants
  
  Revision  Changes    Path
  1.2       +6 -3      jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/id/src/java/org/apache/commons/id/uuid/Constants.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Constants.java	31 May 2004 06:55:15 -0000	1.1
  +++ Constants.java	14 Jun 2004 12:45:30 -0000	1.2
  @@ -95,7 +95,7 @@
       //** Exception message constants
       /** Message indicating this is not a version one UUID */
       String WRONG_VAR_VER_MSG = "Not a ietf variant 2 or version 1 (time-based UUID)";
  -    
  +
       // ** Array positions and lengths of UUID fields ** //
       /** Byte length of time low field */
       int TIME_LOW_BYTE_LEN = 4;
  @@ -115,5 +115,8 @@
       int TIME_MID_START_POS = 4;
       /** uuid array position start of hi field */
       int TIME_HI_START_POS = 6;
  -
  +    /** Byte position of the clock sequence and reserved field */
  +    short TIME_HI_AND_VERSION_BYTE_6 = 6;
  +    /** Byte position of the clock sequence and reserved field */
  +    short CLOCK_SEQ_HI_AND_RESERVED_BYTE_8 = 8;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org