tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util HexUtils.java
Date Fri, 29 Oct 1999 05:13:37 GMT
craigmcc    99/10/28 22:13:34

  Modified:    src/share/org/apache/tomcat/util HexUtils.java
  Log:
  Correct compile error caused by missing "static" modifier.
  
  Revision  Changes    Path
  1.3       +12 -5     jakarta-tomcat/src/share/org/apache/tomcat/util/HexUtils.java
  
  Index: HexUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/HexUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HexUtils.java	1999/10/28 17:02:57	1.2
  +++ HexUtils.java	1999/10/29 05:13:30	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/HexUtils.java,v 1.2
1999/10/28 17:02:57 costin Exp $
  - * $Revision: 1.2 $
  - * $Date: 1999/10/28 17:02:57 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/HexUtils.java,v 1.3
1999/10/29 05:13:30 craigmcc Exp $
  + * $Revision: 1.3 $
  + * $Date: 1999/10/29 05:13:30 $
    *
    * ====================================================================
    *
  @@ -167,9 +167,16 @@
   
       }
   
  -    /** Convert 4 hex digits to an int.
  +    /**
  +     * Convert 4 hex digits to an int, and return the number of converted
  +     * bytes.
  +     *
  +     * @param hex Byte array containing exactly four hexadecimal digits
  +     *
  +     * @exception IllegalArgumentException if an invalid hexadecimal digit
  +     *  is included
        */
  -    public int convert2Int( byte[] hex ) {
  +    public static int convert2Int( byte[] hex ) {
   	// Code from Ajp11, from Apache's JServ
       
   	// assert b.length==4
  
  
  

Mime
View raw message