You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2012/03/18 13:01:20 UTC

Warning with fall-through in SimpleText

Hi,

is this wanted?

common.compile-core:
    [mkdir] Created dir: C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java
    [javac] Compiling 632 source files to C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java
    [javac] C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr1\lucene\core\src\java\org\apache\luce
ne\codecs\simpletext\SimpleTextDocValuesConsumer.java:109: warning:
[fallthrough] possible fall-through into case
    [javac]     case VAR_INTS:
    [javac]     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
     [copy] Copying 2 files to C:\Users\Uwe
Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Warning with fall-through in SimpleText

Posted by Simon Willnauer <si...@googlemail.com>.
we can just duplicate the logic instead of falling through.

simon

On Sun, Mar 18, 2012 at 1:01 PM, Uwe Schindler <uw...@thetaphi.de> wrote:
> Hi,
>
> is this wanted?
>
> common.compile-core:
>    [mkdir] Created dir: C:\Users\Uwe
> Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java
>    [javac] Compiling 632 source files to C:\Users\Uwe
> Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java
>    [javac] C:\Users\Uwe
> Schindler\Projects\lucene\trunk-lusolr1\lucene\core\src\java\org\apache\luce
> ne\codecs\simpletext\SimpleTextDocValuesConsumer.java:109: warning:
> [fallthrough] possible fall-through into case
>    [javac]     case VAR_INTS:
>    [javac]     ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] 1 warning
>     [copy] Copying 2 files to C:\Users\Uwe
> Schindler\Projects\lucene\trunk-lusolr1\lucene\build\core\classes\java
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org