You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2014/03/22 11:53:42 UTC

[jira] [Updated] (LUCENE-5551) Fix warnings in the ant build

     [ https://issues.apache.org/jira/browse/LUCENE-5551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Heisey updated LUCENE-5551:
---------------------------------

    Attachment: LUCENE-5551-fix-fallthrough.patch

For the fallthrough patch:

HTMLStripCharFilter and UAX29URLEmailTokenizerImpl had applicable warnings, but they are generated from jflex.  I removed the changes for these classes from the patch, but here's a summary:

In HTMLStripCharFilter, I suppressed fallthrough on the nextChar() method.  In UAX29URLEmailTokenizerImpl, I suppressed several "unused" warnings (not really necessary) and added break statements to a couple of cases.

> Fix warnings in the ant build
> -----------------------------
>
>                 Key: LUCENE-5551
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5551
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>    Affects Versions: 4.8
>            Reporter: Shawn Heisey
>             Fix For: 5.0
>
>         Attachments: LUCENE-5551-fix-fallthrough.patch
>
>
> The build produces a lot of warnings.  LUCENE-5130 aims to fail the build on certain warnings, but until we actually eliminate those warnings from the code, failing the build is premature.
> This issue is concerned with fixing or suppressing warnings reported by the ant build, anything further than that may need one or more separate issues.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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