From 58e4ab930b1e584ca98570e43ef6547bdf3dc3c9 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Tue, 23 Jul 2013 22:37:56 +0000 Subject: [PATCH] add missing javadocs headers (so we dont get the jflex-generated one with paths and dates and timestamps) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4335@1506348 13f79535-47bb-0310-9956-ffa450edef68 --- .../analysis/charfilter/HTMLStripCharFilter.java | 11 ++--------- .../analysis/charfilter/HTMLStripCharFilter.jflex | 3 +-- .../analysis/standard/ClassicTokenizerImpl.java | 9 +++------ .../analysis/standard/ClassicTokenizerImpl.jflex | 3 +++ .../analysis/standard/StandardTokenizerImpl.java | 2 +- .../analysis/standard/UAX29URLEmailTokenizerImpl.java | 2 +- .../analysis/wikipedia/WikipediaTokenizerImpl.java | 9 +++------ .../analysis/wikipedia/WikipediaTokenizerImpl.jflex | 3 +++ 8 files changed, 17 insertions(+), 25 deletions(-) diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.java index 2c02cd69c45..e18e71ff2cc 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 5:04 PM */ +/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 6:37 PM */ package org.apache.lucene.analysis.charfilter; @@ -31,18 +31,11 @@ import org.apache.lucene.analysis.util.CharArrayMap; import org.apache.lucene.analysis.util.CharArraySet; import org.apache.lucene.analysis.util.OpenStringBuilder; - +@SuppressWarnings("fallthrough") /** * A CharFilter that wraps another Reader and attempts to strip out HTML constructs. */ -@SuppressWarnings("fallthrough") -/** - * This class is a scanner generated by - * JFlex 1.5.0-SNAPSHOT - * on 7/23/13 5:04 PM from the specification file - * /l/regenerate.4335/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex - */ public final class HTMLStripCharFilter extends BaseCharFilter { /** This character denotes the end of file */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex index f6f6fcd2143..3d659866c26 100755 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.jflex @@ -29,11 +29,10 @@ import org.apache.lucene.analysis.util.CharArrayMap; import org.apache.lucene.analysis.util.CharArraySet; import org.apache.lucene.analysis.util.OpenStringBuilder; - +@SuppressWarnings("fallthrough") /** * A CharFilter that wraps another Reader and attempts to strip out HTML constructs. */ -@SuppressWarnings("fallthrough") %% %unicode 6.1 diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.java index cbdcaea4927..c2cb3095610 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 5:04 PM */ +/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 6:37 PM */ package org.apache.lucene.analysis.standard; @@ -29,13 +29,10 @@ WARNING: if you change ClassicTokenizerImpl.jflex and need to regenerate import java.io.Reader; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; - /** - * This class is a scanner generated by - * JFlex 1.5.0-SNAPSHOT - * on 7/23/13 5:04 PM from the specification file - * /l/regenerate.4335/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.jflex + * This class implements the classic lucene StandardTokenizer up until 3.0 */ + class ClassicTokenizerImpl implements StandardTokenizerInterface { /** This character denotes the end of file */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.jflex b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.jflex index 3d4a3a10960..4d408b91073 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.jflex +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerImpl.jflex @@ -27,6 +27,9 @@ WARNING: if you change ClassicTokenizerImpl.jflex and need to regenerate import java.io.Reader; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; +/** + * This class implements the classic lucene StandardTokenizer up until 3.0 + */ %% %class ClassicTokenizerImpl diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java index fba391c3d4a..b621ce62feb 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 5:04 PM */ +/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 6:37 PM */ package org.apache.lucene.analysis.standard; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl.java index d0827841aa6..200331b21bc 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 5:04 PM */ +/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 6:37 PM */ package org.apache.lucene.analysis.standard; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.java index 0fbb77f8492..54a3a670c22 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.java @@ -1,4 +1,4 @@ -/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 5:04 PM */ +/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 7/23/13 6:37 PM */ package org.apache.lucene.analysis.wikipedia; @@ -21,13 +21,10 @@ package org.apache.lucene.analysis.wikipedia; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; - /** - * This class is a scanner generated by - * JFlex 1.5.0-SNAPSHOT - * on 7/23/13 5:04 PM from the specification file - * /l/regenerate.4335/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.jflex + * JFlex-generated tokenizer that is aware of Wikipedia syntax. */ + class WikipediaTokenizerImpl { /** This character denotes the end of file */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.jflex b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.jflex index 4a5584791ba..3865ea08aba 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.jflex +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerImpl.jflex @@ -19,6 +19,9 @@ package org.apache.lucene.analysis.wikipedia; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; +/** + * JFlex-generated tokenizer that is aware of Wikipedia syntax. + */ %% %class WikipediaTokenizerImpl