apache / apache/lucene

Fix warnings in the ant build [LUCENE-5551]

Open
#6,613 13 comments 0 reactions 0 assignees View on GitHub
affects-version:4.8 legacy-jira-fix-version:6.0 legacy-jira-priority:Major tool:build type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The build produces a lot of warnings. #6194 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.

---
Migrated from [LUCENE-5551](https://issues.apache.org/jira/browse/LUCENE-5551) by Shawn Heisey (@elyograg), updated May 09 2016
Attachments: [LUCENE-5551-fix-fallthrough.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5551/LUCENE-5551-fix-fallthrough.patch), [LUCENE-5551-redundant-casts.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5551/LUCENE-5551-redundant-casts.patch) (versions: 2)
Linked issues:
- #6194

Contributor guide

Open the contributing guide

Research direction

Start by running the Ant build and collecting the warnings described in the issue. Review the attached LUCENE-5551-fix-fallthrough.patch and LUCENE-5551-redundant-casts.patch, and compare the warning policy with linked issue #6194. Done means the reported warnings are fixed or intentionally suppressed without extending the scope beyond the Ant build.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.