I would just create a generic ticket for cleaning up findbugs
warnings/errors. Perhaps even just a generic ticket for fixing static code
analyzer warnings/errors.

John

On Sun, Mar 4, 2012 at 11:46 PM, David Medinets <[email protected]>wrote:

> Should I create a separate JIRA ticket for each issue that FindBugs
> finds? Most of them will be trivial. Here is an example. In RFile.java
> there is:
>
>  public void printInfo() throws IOException {
>    ...
>    out.println("\tNum   blocks         : " + String.format("%,d",
> indexReader.size()));
>    ...
>    if (indexReader != null && indexReader.size() > 0) {
>      lastKey = indexReader.getLastKey();
>    }
>    ...
>  }
>
> Since the indexReader is already referenced, the null check is not
> helpful in its current location. The resolution is simple but should a
> few of these issues be rolled into one JIRA? Or a separate JIRA for
> each one? Or no JIRA at all?
>

Reply via email to