billbarker    02/03/10 22:45:44

  Modified:    src/share/org/apache/tomcat/util/buf HexUtils.java
  Log:
  Port change from j-t-c.
  
  This has no effect on existing 3.3.x code, but Coyote explodes without it.  Doing 
this now will allow people to test Coyote against a released version.
  
  Revision  Changes    Path
  1.4       +9 -2      
jakarta-tomcat/src/share/org/apache/tomcat/util/buf/HexUtils.java
  
  Index: HexUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/buf/HexUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HexUtils.java     19 Jul 2001 05:49:02 -0000      1.3
  +++ HexUtils.java     11 Mar 2002 06:45:44 -0000      1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/buf/HexUtils.java,v 1.3 
2001/07/19 05:49:02 costin Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/19 05:49:02 $
  + * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/buf/HexUtils.java,v 1.4 
2002/03/11 06:45:44 billbarker Exp $
  + * $Revision: 1.4 $
  + * $Date: 2002/03/11 06:45:44 $
    *
    * ====================================================================
    *
  @@ -97,6 +97,13 @@
           -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
       };
       
  +    /**
  +     * Table for DEC to HEX byte translation.
  +     */
  +    public static final byte[] HEX = 
  +    { (byte) '0', (byte) '1', (byte) '2', (byte) '3', (byte) '4', (byte) '5', 
  +      (byte) '6', (byte) '7', (byte) '8', (byte) '9', (byte) 'a', (byte) 'b', 
  +      (byte) 'c', (byte) 'd', (byte) 'e', (byte) 'f' };
   
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to