You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-dev@jakarta.apache.org by df...@apache.org on 2001/01/29 01:22:06 UTC

cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Compiler.java Perl5Matcher.java

dfs         01/01/28 16:22:06

  Modified:    src/java/org/apache/oro/text/regex Perl5Compiler.java
                        Perl5Matcher.java
  Log:
  Fixed compilation errors that I should have caught before checking the code in before.
  
  Revision  Changes    Path
  1.7       +2 -2      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Perl5Compiler.java	2001/01/29 00:19:01	1.6
  +++ Perl5Compiler.java	2001/01/29 00:22:05	1.7
  @@ -57,7 +57,7 @@
    * by Daniel F. Savarese. We appreciate his contributions.
    */
   
  -import java.util.Hashtable;
  +import java.util.*;
   
   /**
    * The Perl5Compiler class is used to create compiled regular expressions
  @@ -67,7 +67,7 @@
    * information about Perl5 regular expressions.
   
    @author <a href="mailto:dfs@savarese.org">Daniel F. Savarese</a>
  - @version $Id: Perl5Compiler.java,v 1.6 2001/01/29 00:19:01 dfs Exp $
  + @version $Id: Perl5Compiler.java,v 1.7 2001/01/29 00:22:05 dfs Exp $
   
    * @see PatternCompiler
    * @see MalformedPatternException
  
  
  
  1.9       +2 -3      jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java
  
  Index: Perl5Matcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Perl5Matcher.java	2001/01/29 00:19:01	1.8
  +++ Perl5Matcher.java	2001/01/29 00:22:05	1.9
  @@ -66,7 +66,7 @@
    * Perl5Compiler.
   
    @author <a href="mailto:dfs@savarese.org">Daniel F. Savarese</a>
  - @version $Id: Perl5Matcher.java,v 1.8 2001/01/29 00:19:01 dfs Exp $
  + @version $Id: Perl5Matcher.java,v 1.9 2001/01/29 00:22:05 dfs Exp $
   
    * @see PatternMatcher
    * @see Perl5Compiler
  @@ -677,8 +677,7 @@
   	  // or a punctuation mark.  Printable characters are either
   	  // alphanumeric, punctuation marks, or spaces.
   	case OpCode._GRAPH:
  -	  if(Character.isLetterOrDigit(code)
  -	     return isANYOF;
  +	  if(Character.isLetterOrDigit(code)) return isANYOF;
             // Fall through to check if the character is a punctuation mark.
             // Graph characters are either alphanumeric or punctuation.
   	case OpCode._PUNCT: