mirror of https://github.com/apache/lucene.git
LUCENE-6740: Reduce warnings emitted by javac
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37a4a90705
commit
9f85633b2d
|
@ -33,6 +33,7 @@ import org.apache.lucene.analysis.util.OpenStringBuilder;
|
||||||
/**
|
/**
|
||||||
* A CharFilter that wraps another Reader and attempts to strip out HTML constructs.
|
* A CharFilter that wraps another Reader and attempts to strip out HTML constructs.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
|
||||||
public final class HTMLStripCharFilter extends BaseCharFilter {
|
public final class HTMLStripCharFilter extends BaseCharFilter {
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ import org.apache.lucene.analysis.util.OpenStringBuilder;
|
||||||
/**
|
/**
|
||||||
* A CharFilter that wraps another Reader and attempts to strip out HTML constructs.
|
* A CharFilter that wraps another Reader and attempts to strip out HTML constructs.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
%%
|
%%
|
||||||
|
|
||||||
%unicode 6.3
|
%unicode 6.3
|
||||||
|
|
|
@ -25,6 +25,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
/**
|
/**
|
||||||
* This class implements the classic lucene StandardTokenizer up until 3.0
|
* This class implements the classic lucene StandardTokenizer up until 3.0
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
|
||||||
class ClassicTokenizerImpl {
|
class ClassicTokenizerImpl {
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
/**
|
/**
|
||||||
* This class implements the classic lucene StandardTokenizer up until 3.0
|
* This class implements the classic lucene StandardTokenizer up until 3.0
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
%%
|
%%
|
||||||
|
|
||||||
%class ClassicTokenizerImpl
|
%class ClassicTokenizerImpl
|
||||||
|
|
|
@ -38,6 +38,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
* <li><HANGUL>: A sequence of Hangul characters</li>
|
* <li><HANGUL>: A sequence of Hangul characters</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
|
||||||
public final class StandardTokenizerImpl {
|
public final class StandardTokenizerImpl {
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
* <li><HANGUL>: A sequence of Hangul characters</li>
|
* <li><HANGUL>: A sequence of Hangul characters</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
%%
|
%%
|
||||||
|
|
||||||
%unicode 6.3
|
%unicode 6.3
|
||||||
|
|
|
@ -41,6 +41,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
* <li><HANGUL>: A sequence of Hangul characters</li>
|
* <li><HANGUL>: A sequence of Hangul characters</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
|
||||||
public final class UAX29URLEmailTokenizerImpl {
|
public final class UAX29URLEmailTokenizerImpl {
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
* <li><HANGUL>: A sequence of Hangul characters</li>
|
* <li><HANGUL>: A sequence of Hangul characters</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
%%
|
%%
|
||||||
|
|
||||||
%unicode 6.3
|
%unicode 6.3
|
||||||
|
|
|
@ -24,6 +24,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
/**
|
/**
|
||||||
* JFlex-generated tokenizer that is aware of Wikipedia syntax.
|
* JFlex-generated tokenizer that is aware of Wikipedia syntax.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
|
||||||
class WikipediaTokenizerImpl {
|
class WikipediaTokenizerImpl {
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
/**
|
/**
|
||||||
* JFlex-generated tokenizer that is aware of Wikipedia syntax.
|
* JFlex-generated tokenizer that is aware of Wikipedia syntax.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
%%
|
%%
|
||||||
|
|
||||||
%class WikipediaTokenizerImpl
|
%class WikipediaTokenizerImpl
|
||||||
|
|
Loading…
Reference in New Issue