jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Compiler.java
Date Wed, 20 Nov 2002 22:51:29 GMT
dfs         2002/11/20 14:51:29

  Modified:    src/java/org/apache/oro/text/awk AwkCompiler.java
               src/java/org/apache/oro/text/regex Perl5Compiler.java
  Log:
  Commented out Perl5Compiler.__setCharacterClasBits and AwkCompiler() as
  they are unused, but did not remove them for reasons indicated in the
  comments.
  
  Revision  Changes    Path
  1.7       +4 -2      jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java
  
  Index: AwkCompiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AwkCompiler.java	20 Nov 2002 21:31:03 -0000	1.6
  +++ AwkCompiler.java	20 Nov 2002 22:51:29 -0000	1.7
  @@ -182,7 +182,9 @@
     private char[] __regularExpression;
     private int __openParen, __closeParen;
   
  -  public AwkCompiler() { }
  +  // We do not currently need to initialize any state, but keep this
  +  // commented out as a reminder that we may have to at some point.
  +  //public AwkCompiler() { }
   
     private static boolean __isMetachar(char token) {
       return (token == '*' || token == '?' || token == '+' ||
  
  
  
  1.17      +5 -6      jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java
  
  Index: Perl5Compiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Perl5Compiler.java	20 Nov 2002 21:31:03 -0000	1.16
  +++ Perl5Compiler.java	20 Nov 2002 22:51:29 -0000	1.17
  @@ -937,7 +937,10 @@
       return offset;
     }
   
  -
  +  // These are the original 8-bit character class handling methods.
  +  // We don't want to delete them just yet only to have to dig it out
  +  // of revision control later.
  +  /*
     // Set the bits in a character class.  Only recognizes ascii.
     private void __setCharacterClassBits(char[] bits, int offset, char deflt,
   				       char ch)
  @@ -953,10 +956,6 @@
       }
     }
   
  -  // This is the original 8-bit character class handling method.
  -  // We don't want to delete it just yet only to have to dig it out
  -  // of revision control later.
  -  /*
     private int __parseCharacterClass() throws MalformedPatternException {
       boolean range = false, skipTest;
       char clss, deflt, lastclss = Character.MAX_VALUE;
  
  
  

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


Mime
View raw message