avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/cli/src/java/org/apache/avalon/excalibur/cli CLArgsParser.java
Date Tue, 19 Mar 2002 11:12:48 GMT
donaldp     02/03/19 03:12:48

  Modified:    cli/src/java/org/apache/avalon/excalibur/cli
                        CLArgsParser.java
  Log:
  Put statics at top of file
  
  Revision  Changes    Path
  1.13      +3 -2      jakarta-avalon-excalibur/cli/src/java/org/apache/avalon/excalibur/cli/CLArgsParser.java
  
  Index: CLArgsParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cli/src/java/org/apache/avalon/excalibur/cli/CLArgsParser.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CLArgsParser.java	19 Mar 2002 10:48:37 -0000	1.12
  +++ CLArgsParser.java	19 Mar 2002 11:12:48 -0000	1.13
  @@ -24,6 +24,9 @@
    */
   public final class CLArgsParser
   {
  +    //cached character == Integer.MAX_VALUE when invalid
  +    private static final int INVALID = Integer.MAX_VALUE;
  +
       private static final int STATE_NORMAL = 0;
       private static final int STATE_REQUIRE_2ARGS = 1;
       private static final int STATE_REQUIRE_ARG = 2;
  @@ -59,8 +62,6 @@
       private int stringIndex;
       private int stringLength;
   
  -    //cached character == Integer.MAX_VALUE when invalid
  -    private static final int INVALID = Integer.MAX_VALUE;
       private int m_lastChar = INVALID;
   
       private int m_lastOptionId;
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message