Return-Path: Delivered-To: apmail-jakarta-oro-dev-archive@jakarta.apache.org Received: (qmail 808 invoked by uid 500); 20 May 2001 23:55:27 -0000 Mailing-List: contact oro-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: oro-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list oro-dev@jakarta.apache.org Received: (qmail 799 invoked by uid 500); 20 May 2001 23:55:27 -0000 Delivered-To: apmail-jakarta-oro-cvs@apache.org Date: 20 May 2001 23:55:26 -0000 Message-ID: <20010520235526.795.qmail@apache.org> From: dfs@apache.org To: jakarta-oro-cvs@apache.org Subject: cvs commit: jakarta-oro/src/java/tools oroToApache.java dfs 01/05/20 16:55:26 Modified: src/java/examples MatcherDemoApplet.java addCommas.java didNotMatch.java filter.java grep.java groups.java jdfix.java matchResultExample.java matchesContainsExample.java prefixExample.java printPasswd.java semicolon.java splitExample.java substituteExample.java src/java/examples/awk matchesContainsExample.java prefixExample.java splitExample.java streamInputExample.java substituteExample.java src/java/org/apache/oro/io AwkFilenameFilter.java GlobFilenameFilter.java Perl5FilenameFilter.java RegexFilenameFilter.java src/java/org/apache/oro/text DefaultMatchAction.java GenericPatternCache.java GlobCompiler.java MalformedCachePatternException.java MatchAction.java MatchActionInfo.java MatchActionProcessor.java PatternCache.java PatternCacheFIFO.java PatternCacheFIFO2.java PatternCacheLRU.java PatternCacheRandom.java src/java/org/apache/oro/text/awk AwkCompiler.java AwkMatchResult.java AwkMatcher.java AwkPattern.java AwkStreamInput.java CatNode.java CharacterClassNode.java EpsilonNode.java LeafNode.java NegativeCharacterClassNode.java OrNode.java PlusNode.java QuestionNode.java StarNode.java SyntaxNode.java SyntaxTree.java TokenNode.java src/java/org/apache/oro/util Cache.java CacheFIFO.java CacheFIFO2.java CacheLRU.java CacheRandom.java GenericCache.java GenericCacheEntry.java src/java/tools oroToApache.java Log: Finished changing all @version tags to reference release version and moved CVS/RCS $Id$ tags to top of file after license. Revision Changes Path 1.2 +4 -1 jakarta-oro/src/java/examples/MatcherDemoApplet.java Index: MatcherDemoApplet.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/MatcherDemoApplet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MatcherDemoApplet.java 2001/05/18 08:31:38 1.1 +++ MatcherDemoApplet.java 2001/05/20 23:55:15 1.2 @@ -56,7 +56,7 @@ */ /* - * $Id: MatcherDemoApplet.java,v 1.1 2001/05/18 08:31:38 dfs Exp $ + * $Id: MatcherDemoApplet.java,v 1.2 2001/05/20 23:55:15 dfs Exp $ */ import java.applet.*; import java.awt.*; @@ -74,6 +74,9 @@ * much. It should be refactored into classes for a general purpose * interactive testing interface that can be run as a standalone * AWT application or embedded in an applet. + * + * @author Daniel F. Savarese + * @version @version@ */ public final class MatcherDemoApplet extends Applet { static int CONTAINS_SEARCH = 0, MATCHES_SEARCH = 1; 1.4 +5 -2 jakarta-oro/src/java/examples/addCommas.java Index: addCommas.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/addCommas.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- addCommas.java 2001/05/09 18:18:58 1.3 +++ addCommas.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: addCommas.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.perl.*; /** @@ -63,8 +66,8 @@ * It demonstrates substitutions by adding commas to a the string * representation of an integer. * - @author Daniel F. Savarese - @version $Id: addCommas.java,v 1.3 2001/05/09 18:18:58 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class addCommas { 1.4 +5 -2 jakarta-oro/src/java/examples/didNotMatch.java Index: didNotMatch.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/didNotMatch.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- didNotMatch.java 2001/05/09 18:19:01 1.3 +++ didNotMatch.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: didNotMatch.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.perl.*; @@ -62,8 +65,8 @@ * This is a trivial example program demonstrating the preMatch() * and postMatch() methods of Perl5Util. * - @author Daniel F. Savarese - @version $Id: didNotMatch.java,v 1.3 2001/05/09 18:19:01 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class didNotMatch { 1.4 +5 -2 jakarta-oro/src/java/examples/filter.java Index: filter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/filter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- filter.java 2001/05/09 18:19:02 1.3 +++ filter.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: filter.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * This is a sample program demonstrating how to use the regular expression * filename filter classes. * - @author Daniel F. Savarese - @version $Id: filter.java,v 1.3 2001/05/09 18:19:02 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class filter { 1.4 +5 -2 jakarta-oro/src/java/examples/grep.java Index: grep.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/grep.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- grep.java 2001/05/09 18:19:03 1.3 +++ grep.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: grep.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -67,8 +70,8 @@ * creating a MatchAction class or classes whose behavior varies based on * the provided flags. * - @author Daniel F. Savarese - @version $Id: grep.java,v 1.3 2001/05/09 18:19:03 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class grep { static int _file = 0; 1.4 +5 -2 jakarta-oro/src/java/examples/groups.java Index: groups.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/groups.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- groups.java 2001/05/09 18:19:04 1.3 +++ groups.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: groups.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * This is a sample program mimicking the Unix groups command. It assumes * the /etc/group file exists. * - @author Daniel F. Savarese - @version $Id: groups.java,v 1.3 2001/05/09 18:19:04 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class groups { 1.4 +5 -2 jakarta-oro/src/java/examples/jdfix.java Index: jdfix.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/jdfix.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- jdfix.java 2001/05/09 18:19:06 1.3 +++ jdfix.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: jdfix.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.perl.*; @@ -64,8 +67,8 @@ * This is an example program demonstrating how to use the PerlTools * match and substitute methods. * - @author Daniel F. Savarese - @version $Id: jdfix.java,v 1.3 2001/05/09 18:19:06 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class jdfix { 1.4 +5 -2 jakarta-oro/src/java/examples/matchResultExample.java Index: matchResultExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchResultExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchResultExample.java 2001/05/09 18:19:07 1.3 +++ matchResultExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchResultExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the methods of the OROMatcher * MatchResult class. * - @author Daniel F. Savarese - @version $Id: matchResultExample.java,v 1.3 2001/05/09 18:19:07 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class matchResultExample { 1.4 +5 -2 jakarta-oro/src/java/examples/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchesContainsExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchesContainsExample.java 2001/05/09 18:19:08 1.3 +++ matchesContainsExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchesContainsExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the difference between the * matches() and contains() methods. * - @author Daniel F. Savarese - @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:08 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class matchesContainsExample { 1.4 +5 -2 jakarta-oro/src/java/examples/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/prefixExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- prefixExample.java 2001/05/09 18:19:10 1.3 +++ prefixExample.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: prefixExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -69,8 +72,8 @@ * easily use regular expressions to create your own tokenization and * simple parsing classes using similar approaches. * - @author Daniel F. Savarese - @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:10 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class prefixExample { public static final int REAL = 0; 1.5 +5 -2 jakarta-oro/src/java/examples/printPasswd.java Index: printPasswd.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/printPasswd.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- printPasswd.java 2001/05/09 18:19:13 1.4 +++ printPasswd.java 2001/05/20 23:55:15 1.5 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: printPasswd.java,v 1.5 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * It demonstrates splits by reading the /etc/passwd file (assuming you're * on a Unix system) and printing out the formatted entries. * - @author Daniel F. Savarese - @version $Id: printPasswd.java,v 1.4 2001/05/09 18:19:13 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class printPasswd { public static final String[] fieldNames = { 1.4 +5 -2 jakarta-oro/src/java/examples/semicolon.java Index: semicolon.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/semicolon.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- semicolon.java 2001/05/09 18:19:15 1.3 +++ semicolon.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: semicolon.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.*; @@ -65,8 +68,8 @@ * class. It reads the provided semi-colon delimited file semicolon.txt and * outputs only the second column to standard output. * - @author Daniel F. Savarese - @version $Id: semicolon.java,v 1.3 2001/05/09 18:19:15 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class semicolon { 1.5 +6 -2 jakarta-oro/src/java/examples/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/splitExample.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- splitExample.java 2001/05/09 18:19:16 1.4 +++ splitExample.java 2001/05/20 23:55:15 1.5 @@ -54,14 +54,18 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: splitExample.java,v 1.5 2001/05/20 23:55:15 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the use of the Util.split() method. * - @author Daniel F. Savarese - @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:16 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class splitExample { 1.4 +5 -2 jakarta-oro/src/java/examples/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/substituteExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- substituteExample.java 2001/05/09 18:19:17 1.3 +++ substituteExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: substituteExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the use of the Util.substitute() * method. * - @author Daniel F. Savarese - @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:17 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class substituteExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/matchesContainsExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchesContainsExample.java 2001/05/09 18:19:35 1.3 +++ matchesContainsExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchesContainsExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -62,8 +65,8 @@ * This is a test program demonstrating the difference between the * OROMatcher matches() and contains() methods. * - @author Daniel F. Savarese - @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:35 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class matchesContainsExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/prefixExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- prefixExample.java 2001/05/09 18:19:37 1.3 +++ prefixExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: prefixExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -72,8 +75,8 @@ * distribution, you'll see how to Perl's zero-width look ahead assertion * makes correctness easier to achieve. * - @author Daniel F. Savarese - @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:37 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class prefixExample { public static final int REAL = 0; 1.5 +6 -2 jakarta-oro/src/java/examples/awk/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/splitExample.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- splitExample.java 2001/05/09 18:19:38 1.4 +++ splitExample.java 2001/05/20 23:55:16 1.5 @@ -54,6 +54,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: splitExample.java,v 1.5 2001/05/20 23:55:16 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +67,8 @@ * It is the same as the version in the OROMatcher distribution except that * it uses Awk classes instead of Perl classes. * - @author Daniel F. Savarese - @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:38 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class splitExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/streamInputExample.java Index: streamInputExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/streamInputExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- streamInputExample.java 2001/05/09 18:19:40 1.3 +++ streamInputExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: streamInputExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +66,8 @@ * This is a test program demonstrating how to search an input stream * with the AwkTools regular expression classes. * - @author Daniel F. Savarese - @version $Id: streamInputExample.java,v 1.3 2001/05/09 18:19:40 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class streamInputExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/substituteExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- substituteExample.java 2001/05/09 18:19:42 1.3 +++ substituteExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: substituteExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +66,8 @@ * method. It is the same as the version in the OROMatcher distribution * except that it uses Awk classes instead of Awk classes. * - @author Daniel F. Savarese - @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:42 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ */ public final class substituteExample { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java Index: AwkFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkFilenameFilter.java 2001/05/09 18:19:50 1.3 +++ AwkFilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkFilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,10 +70,10 @@ * AwkFilenameFilter is a RegexFilenameFilter subclass that filters on Awk * regular expressions as implemented by the org.apache.oro.text.awk package, * which is required to use this class. - - @author Daniel F. Savarese - @version $Id: AwkFilenameFilter.java,v 1.3 2001/05/09 18:19:50 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see Perl5FilenameFilter * @see GlobFilenameFilter 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java Index: GlobFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GlobFilenameFilter.java 2001/05/09 18:19:53 1.3 +++ GlobFilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GlobFilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -66,10 +69,10 @@ * GlobFilenameFilter is a RegexFilenameFilter subclass that filters on Glob * regular expressions as implemented by the org.apache.oro.text package, * which is required to use this class. - - @author Daniel F. Savarese - @version $Id: GlobFilenameFilter.java,v 1.3 2001/05/09 18:19:53 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java Index: Perl5FilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5FilenameFilter.java 2001/05/09 18:19:55 1.3 +++ Perl5FilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5FilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,10 +70,10 @@ * Perl5FilenameFilter is a RegexFilenameFilter subclass that filters on Perl5 * regular expressions as implemented by the org.apache.oro.text.regex package, * which is required to use this class. - - @author Daniel F. Savarese - @version $Id: Perl5FilenameFilter.java,v 1.3 2001/05/09 18:19:55 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java Index: RegexFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RegexFilenameFilter.java 2001/05/09 18:19:56 1.4 +++ RegexFilenameFilter.java 2001/05/20 23:55:17 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: RegexFilenameFilter.java,v 1.5 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -65,10 +68,10 @@ /** * RegexFilenameFilter is the base class for a set of FilenameFilter * implementations that filter based on a regular expression. - - @author Daniel F. Savarese - @version $Id: RegexFilenameFilter.java,v 1.4 2001/05/09 18:19:56 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see Perl5FilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java Index: DefaultMatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DefaultMatchAction.java 2001/05/09 18:20:03 1.3 +++ DefaultMatchAction.java 2001/05/20 23:55:18 1.4 @@ -56,14 +56,18 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: DefaultMatchAction.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ /** * DefaultMatchAction is a support class for MatchActionProcessor, * providing a default match action. - - @author Daniel F. Savarese - @version $Id: DefaultMatchAction.java,v 1.3 2001/05/09 18:20:03 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see MatchActionProcessor */ final class DefaultMatchAction implements MatchAction { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java Index: GenericPatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GenericPatternCache.java 2001/05/09 18:20:05 1.3 +++ GenericPatternCache.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericPatternCache.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -69,10 +72,10 @@ * package, users may not derive subclasses from this class. * Rather, users should create their own implmentations of the * {@link PatternCache} interface. - - @author Daniel F. Savarese - @version $Id: GenericPatternCache.java,v 1.3 2001/05/09 18:20:05 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see PatternCache * @see PatternCacheLRU * @see PatternCacheFIFO 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java Index: GlobCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GlobCompiler.java 2001/05/09 18:20:06 1.3 +++ GlobCompiler.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GlobCompiler.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -106,10 +109,10 @@ * the backslash character is itself a special Java character, and it must * be double backslashed to represent single backslash in a regular * expression. - - @author Daniel F. Savarese - @version $Id: GlobCompiler.java,v 1.3 2001/05/09 18:20:06 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.Perl5Matcher */ 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java Index: MalformedCachePatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MalformedCachePatternException.java 2001/05/09 18:20:08 1.3 +++ MalformedCachePatternException.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MalformedCachePatternException.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ + /** * An exception used to indicate errors in a regular expression fetched * from a PatternCache. @@ -72,10 +76,10 @@ * However, pieces of code with expressions that you cannot guarantee to * be correct should catch MalformedCachePatternException to ensure * reliability. - - @author Daniel F. Savarese - @version $Id: MalformedCachePatternException.java,v 1.3 2001/05/09 18:20:08 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see PatternCache */ public class MalformedCachePatternException extends RuntimeException { 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/MatchAction.java Index: MatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchAction.java 2001/05/09 18:20:09 1.3 +++ MatchAction.java 2001/05/20 23:55:18 1.4 @@ -57,16 +57,20 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MatchAction.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ + /** * The MatchAction interface provides the callback interface for actions * bound to patterns in * {@link MatchActionProcessor}. More often than not, you will want to * create MatchAction instances as anonymous classes when adding pattern * action pairs to a MatchActionProcessor instance. - - @author Daniel F. Savarese - @version $Id: MatchAction.java,v 1.3 2001/05/09 18:20:09 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see MatchActionProcessor * @see MatchActionInfo */ 1.4 +8 -5 jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java Index: MatchActionInfo.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchActionInfo.java 2001/05/09 18:20:10 1.3 +++ MatchActionInfo.java 2001/05/20 23:55:18 1.4 @@ -56,7 +56,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ - + +/* + * $Id: MatchActionInfo.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import java.io.*; @@ -65,10 +68,10 @@ /** * This class is used to provide information regarding a match found by * MatchActionProcessor to a MatchAction callback implementation. - - @author Daniel F. Savarese - @version $Id: MatchActionInfo.java,v 1.3 2001/05/09 18:20:10 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see MatchAction * @see MatchActionProcessor */ 1.4 +8 -5 jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java Index: MatchActionProcessor.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchActionProcessor.java 2001/05/09 18:20:12 1.3 +++ MatchActionProcessor.java 2001/05/20 23:55:18 1.4 @@ -56,7 +56,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ - + +/* + * $Id: MatchActionProcessor.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -131,10 +134,10 @@ * 6;Honolulu;Hawaii * 7;Santa Fe;New Mexico * - - @author Daniel F. Savarese - @version $Id: MatchActionProcessor.java,v 1.3 2001/05/09 18:20:12 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see MatchAction * @see MatchActionInfo */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCache.java Index: PatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCache.java 2001/05/09 18:20:14 1.3 +++ PatternCache.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCache.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -68,10 +71,10 @@ * explicitly manage these operation himself. The main benefit derived * is the ease of use from only having to express regular expressions * by their String representations. - - @author Daniel F. Savarese - @version $Id: PatternCache.java,v 1.3 2001/05/09 18:20:14 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see MalformedCachePatternException */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java Index: PatternCacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheFIFO.java 2001/05/09 18:20:15 1.3 +++ PatternCacheFIFO.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheFIFO.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -68,10 +71,10 @@ * added to the cache until the cache becomes full. Once the cache is full, * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - - @author Daniel F. Savarese - @version $Id: PatternCacheFIFO.java,v 1.3 2001/05/09 18:20:15 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheFIFO extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java Index: PatternCacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheFIFO2.java 2001/05/09 18:20:16 1.3 +++ PatternCacheFIFO2.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheFIFO2.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -75,10 +78,10 @@ * replacement in the same manner. If all the patterns are given a * second chance, then the original pattern selected for replacement is * replaced. - - @author Daniel F. Savarese - @version $Id: PatternCacheFIFO2.java,v 1.3 2001/05/09 18:20:16 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheFIFO2 extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java Index: PatternCacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheLRU.java 2001/05/09 18:20:18 1.3 +++ PatternCacheLRU.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheLRU.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -69,10 +72,10 @@ * cache is full, when a new pattern is added to the cache, it replaces * the least recently used pattern currently in the cache. This is probably * the best general purpose pattern cache replacement policy. - - @author Daniel F. Savarese - @version $Id: PatternCacheLRU.java,v 1.3 2001/05/09 18:20:18 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheLRU extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java Index: PatternCacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheRandom.java 2001/05/09 18:20:19 1.3 +++ PatternCacheRandom.java 2001/05/20 23:55:19 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheRandom.java,v 1.4 2001/05/20 23:55:19 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -68,10 +71,10 @@ * patterns are added to the cache until it becomes full. Once the * cache is full, when a new pattern is added to the cache, it replaces * a randomly selected pattern in the cache. - - @author Daniel F. Savarese - @version $Id: PatternCacheRandom.java,v 1.3 2001/05/09 18:20:19 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheRandom extends GenericPatternCache { 1.5 +7 -4 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.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AwkCompiler.java 2001/05/09 18:20:38 1.4 +++ AwkCompiler.java 2001/05/20 23:55:21 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkCompiler.java,v 1.5 2001/05/20 23:55:21 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -133,10 +136,10 @@ *
\0
matches null character * * - - @author Daniel F. Savarese - @version $Id: AwkCompiler.java,v 1.4 2001/05/09 18:20:38 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.MalformedPatternException * @see AwkPattern 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java Index: AwkMatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkMatchResult.java 2001/05/09 18:20:40 1.3 +++ AwkMatchResult.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkMatchResult.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -64,10 +67,10 @@ * It is important for you to remember that AwkMatcher does not save * parenthesized sub-group information. Therefore the number of groups * saved in an AwkMatchResult will always be 1. - - @author Daniel F. Savarese - @version $Id: AwkMatchResult.java,v 1.3 2001/05/09 18:20:40 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternMatcher * @see AwkMatcher * @see AwkCompiler 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java Index: AwkMatcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AwkMatcher.java 2001/05/09 18:20:42 1.4 +++ AwkMatcher.java 2001/05/20 23:55:21 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkMatcher.java,v 1.5 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -73,10 +76,10 @@ * It is important for you to remember that AwkMatcher does not save * parenthesized sub-group information. Therefore the number of groups * saved in a MatchResult produced by AwkMatcher will always be 1. - - @author Daniel F. Savarese - @version $Id: AwkMatcher.java,v 1.4 2001/05/09 18:20:42 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternMatcher * @see AwkCompiler */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java Index: AwkPattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkPattern.java 2001/05/09 18:20:44 1.3 +++ AwkPattern.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkPattern.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.Serializable; import java.util.*; @@ -84,10 +87,10 @@ * so that pre-compiled patterns may be saved to disk and re-read at a later * time. AwkPattern instances should only be created through calls to an * AwkCompiler instance's compile() methods - - @author Daniel F. Savarese - @version $Id: AwkPattern.java,v 1.3 2001/05/09 18:20:44 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see AwkCompiler * @see AwkMatcher */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java Index: AwkStreamInput.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkStreamInput.java 2001/05/09 18:20:46 1.3 +++ AwkStreamInput.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkStreamInput.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -83,10 +86,10 @@ * In the future the programmer will be able to set this class to save * all the input it sees so that it can be accessed later. This will avoid * having to read a stream more than once for whatever reason. - - @author Daniel F. Savarese - @version $Id: AwkStreamInput.java,v 1.3 2001/05/09 18:20:46 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see AwkMatcher */ public final class AwkStreamInput { 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java Index: CatNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CatNode.java 2001/05/09 18:20:47 1.3 +++ CatNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CatNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: CatNode.java,v 1.3 2001/05/09 18:20:47 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class CatNode extends SyntaxNode { SyntaxNode _left, _right; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java Index: CharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CharacterClassNode.java 2001/05/09 18:20:49 1.3 +++ CharacterClassNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CharacterClassNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: CharacterClassNode.java,v 1.3 2001/05/09 18:20:49 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ class CharacterClassNode extends LeafNode { BitSet _characterSet; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java Index: EpsilonNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- EpsilonNode.java 2001/05/09 18:20:52 1.3 +++ EpsilonNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: EpsilonNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: EpsilonNode.java,v 1.3 2001/05/09 18:20:52 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class EpsilonNode extends SyntaxNode { BitSet _positionSet = new BitSet(1); 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java Index: LeafNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LeafNode.java 2001/05/09 18:20:53 1.3 +++ LeafNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: LeafNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: LeafNode.java,v 1.3 2001/05/09 18:20:53 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ abstract class LeafNode extends SyntaxNode { static final int _NUM_TOKENS = 256; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java Index: NegativeCharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- NegativeCharacterClassNode.java 2001/05/09 18:20:54 1.3 +++ NegativeCharacterClassNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: NegativeCharacterClassNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: NegativeCharacterClassNode.java,v 1.3 2001/05/09 18:20:54 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class NegativeCharacterClassNode extends CharacterClassNode { 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java Index: OrNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- OrNode.java 2001/05/09 18:20:56 1.3 +++ OrNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: OrNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: OrNode.java,v 1.3 2001/05/09 18:20:56 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ class OrNode extends SyntaxNode { SyntaxNode _left, _right; 1.4 +7 -2 jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java Index: PlusNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PlusNode.java 2001/05/09 18:20:57 1.3 +++ PlusNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PlusNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + /** - @author Daniel F. Savarese - @version $Id: PlusNode.java,v 1.3 2001/05/09 18:20:57 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.o */ final class PlusNode extends StarNode { 1.4 +7 -2 jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java Index: QuestionNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- QuestionNode.java 2001/05/09 18:20:59 1.3 +++ QuestionNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: QuestionNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + /** - @author Daniel F. Savarese - @version $Id: QuestionNode.java,v 1.3 2001/05/09 18:20:59 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class QuestionNode extends OrNode { final static SyntaxNode _epsilon = new EpsilonNode(); 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java Index: StarNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- StarNode.java 2001/05/09 18:21:00 1.3 +++ StarNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: StarNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: StarNode.java,v 1.3 2001/05/09 18:21:00 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ class StarNode extends SyntaxNode { SyntaxNode _left; 1.4 +6 -3 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java Index: SyntaxNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SyntaxNode.java 2001/05/09 18:21:01 1.3 +++ SyntaxNode.java 2001/05/20 23:55:22 1.4 @@ -57,12 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ - +/* + * $Id: SyntaxNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author Daniel F. Savarese - @version $Id: SyntaxNode.java,v 1.3 2001/05/09 18:21:01 dfs Exp $ + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ abstract class SyntaxNode { abstract boolean _nullable(); 1.4 +12 -8 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java Index: SyntaxTree.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SyntaxTree.java 2001/05/09 18:21:03 1.3 +++ SyntaxTree.java 2001/05/20 23:55:22 1.4 @@ -57,16 +57,20 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: SyntaxTree.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + * + * IMPORTANT!!!!!!!!!!!!! + * Don't forget to optimize this module. The calculation of follow can + * be accelerated by calculating first and last only once for each node and + * saving instead of doing dynamic calculation every time. + */ import java.util.*; - /** - IMPORTANT!!!!!!!!!!!!! - Don't forget to optimize this module. The calculation of follow can - be accelerated by calculating first and last only once for each node and - saving instead of doing dynamic calculation every time. - - @author Daniel F. Savarese - @version $Id: SyntaxTree.java,v 1.3 2001/05/09 18:21:03 dfs Exp $ +/** + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class SyntaxTree { int _positions; 1.4 +8 -3 jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java Index: TokenNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TokenNode.java 2001/05/09 18:21:04 1.3 +++ TokenNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ - /** - @author Daniel F. Savarese - @version $Id: TokenNode.java,v 1.3 2001/05/09 18:21:04 dfs Exp $ +/* + * $Id: TokenNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + +/** + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ class TokenNode extends LeafNode { char _token; 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/util/Cache.java Index: Cache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/Cache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Cache.java 2001/05/09 18:22:40 1.3 +++ Cache.java 2001/05/20 23:55:24 1.4 @@ -57,12 +57,16 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Cache.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ + /** * An interface defining the basic functions of a cache. - - @author Daniel F. Savarese - @version $Id: Cache.java,v 1.3 2001/05/09 18:22:40 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ public interface Cache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java Index: CacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheFIFO.java 2001/05/09 18:22:42 1.3 +++ CacheFIFO.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheFIFO.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -65,10 +68,10 @@ * added to the cache until the cache becomes full. Once the cache is full, * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - - @author Daniel F. Savarese - @version $Id: CacheFIFO.java,v 1.3 2001/05/09 18:22:42 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericCache */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java Index: CacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheFIFO2.java 2001/05/09 18:22:44 1.3 +++ CacheFIFO2.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheFIFO2.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -72,10 +75,10 @@ * replacement in the same manner. If all the values are given a * second chance, then the original pattern selected for replacement is * replaced. - - @author Daniel F. Savarese - @version $Id: CacheFIFO2.java,v 1.3 2001/05/09 18:22:44 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheFIFO2 extends GenericCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java Index: CacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheLRU.java 2001/05/09 18:22:46 1.3 +++ CacheLRU.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheLRU.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -66,10 +69,10 @@ * cache is full, when a new value is added to the cache, it replaces * the least recently used value currently in the cache. This is probably * the best general purpose cache replacement policy. - - @author Daniel F. Savarese - @version $Id: CacheLRU.java,v 1.3 2001/05/09 18:22:46 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheLRU extends GenericCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java Index: CacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheRandom.java 2001/05/09 18:22:48 1.3 +++ CacheRandom.java 2001/05/20 23:55:25 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheRandom.java,v 1.4 2001/05/20 23:55:25 dfs Exp $ + */ import java.util.*; /** @@ -65,10 +68,10 @@ * values are added to the cache until it becomes full. Once the * cache is full, when a new value is added to the cache, it replaces * a randomly selected value in the cache. - - @author Daniel F. Savarese - @version $Id: CacheRandom.java,v 1.3 2001/05/09 18:22:48 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheRandom extends GenericCache { 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/util/GenericCache.java Index: GenericCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCache.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- GenericCache.java 2001/05/19 20:15:04 1.4 +++ GenericCache.java 2001/05/20 23:55:25 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericCache.java,v 1.5 2001/05/20 23:55:25 dfs Exp $ + */ import java.util.*; /** @@ -68,10 +71,10 @@ * package, users may not derive subclasses from this class. * Rather, users should create their own implmentations of the * {@link Cache} interface. - - @author Daniel F. Savarese - @version $Id: GenericCache.java,v 1.4 2001/05/19 20:15:04 dfs Exp $ - + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 * @see Cache * @see CacheLRU * @see CacheFIFO 1.4 +8 -3 jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java Index: GenericCacheEntry.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GenericCacheEntry.java 2001/05/09 18:22:53 1.3 +++ GenericCacheEntry.java 2001/05/20 23:55:25 1.4 @@ -57,13 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericCacheEntry.java,v 1.4 2001/05/20 23:55:25 dfs Exp $ + */ + /** * A structure used to store values in a GenericCache. It * is declared with default access to limit it to use only within the * package. - - @author Daniel F. Savarese - @version $Id: GenericCacheEntry.java,v 1.3 2001/05/09 18:22:53 dfs Exp $ + * + * @author Daniel F. Savarese + * @version @version@ + * @since 1.0 */ final class GenericCacheEntry implements java.io.Serializable { /** The cache array index of the entry. */ 1.4 +7 -3 jakarta-oro/src/java/tools/oroToApache.java Index: oroToApache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/tools/oroToApache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- oroToApache.java 2001/05/09 18:23:06 1.3 +++ oroToApache.java 2001/05/20 23:55:26 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: oroToApache.java,v 1.4 2001/05/20 23:55:26 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,9 +70,10 @@ * ORO software will not have packages like com.oroinc.net become * org.apache.net. However, you will still have to manually fix some * code if you use the com.oroinc.io classes from NetComponents. - - @author Daniel F. Savarese - @version $Id: oroToApache.java,v 1.3 2001/05/09 18:23:06 dfs Exp $ + * + * @author Daniel F. Savarese + * @version @version@ + * @since 2.0 */ public final class oroToApache { public static final String PACKAGE_PATTERN = "com\\.oroinc\\.(io|text|util)";