Fix JFlex tokenizer compiler warnings
-------------------------------------
Key: LUCENE-3477
URL: https://issues.apache.org/jira/browse/LUCENE-3477
Project: Lucene - Java
Issue Type: Improvement
Reporter: Michael McCandless
Attachments: LUCENE-3477.patch
We get lots of distracting fallthrough warnings running "ant compile"
in modules/analysis, from the tokenizers generated from JFlex.
Digging a bit, they actually do look spooky.
So I managed to edit the JFlex inputs to insert a bunch of break
statements in our rules, but I have no idea if this is
right/dangerous, and it seems a bit weird having to do such insertions
of "naked" breaks.
But, this does fix all the warnings, and all tests pass...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]