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:
Uwe Schindler 2015-08-15 10:32:57 +00:00
parent 37a4a90705
commit 9f85633b2d
10 changed files with 10 additions and 0 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -38,6 +38,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
* <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li> * <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li>
* </ul> * </ul>
*/ */
@SuppressWarnings("fallthrough")
public final class StandardTokenizerImpl { public final class StandardTokenizerImpl {

View File

@ -36,6 +36,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
* <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li> * <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li>
* </ul> * </ul>
*/ */
@SuppressWarnings("fallthrough")
%% %%
%unicode 6.3 %unicode 6.3

View File

@ -41,6 +41,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
* <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li> * <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li>
* </ul> * </ul>
*/ */
@SuppressWarnings("fallthrough")
public final class UAX29URLEmailTokenizerImpl { public final class UAX29URLEmailTokenizerImpl {

View File

@ -39,6 +39,7 @@ import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
* <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li> * <li>&lt;HANGUL&gt;: A sequence of Hangul characters</li>
* </ul> * </ul>
*/ */
@SuppressWarnings("fallthrough")
%% %%
%unicode 6.3 %unicode 6.3

View File

@ -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 {

View File

@ -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