Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overzealous FindBugs changes. #225

Merged
merged 1 commit into from
Dec 1, 2015
Merged

Conversation

Shredder121
Copy link
Contributor

Charsets that are standard on the JRE are try-lookuped,
bridge methods were removed and a stream that would be closed later is closed explicitly

@buildhive
Copy link

Kohsuke Kawaguchi » github-api #401 SUCCESS
This pull request looks good
(what's this?)

Charsets that are standard on the JRE are try-lookuped,
bridge methods were removed and a stream that would be closed later is closed explicitly
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #402 SUCCESS
This pull request looks good
(what's this?)

} catch (Exception ex) {
throw new IOException("UTF-8 encoding is not supported", ex);
}
Charset charset = Charsets.UTF_8;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be inlined with static import i think

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If more people agree I'll do that then.
Shall I remove the variable declaration and inline it to the method call or just convert to static import?

@oleg-nenashev
Copy link
Collaborator

IIRC the problem with charsets was related to JVM 6. I'm not sure how Apache codecs behave there, needs to be checked

kohsuke added a commit that referenced this pull request Dec 1, 2015
@kohsuke kohsuke merged commit c33f05e into hub4j:master Dec 1, 2015
@Shredder121 Shredder121 deleted the findbugs-changes branch December 1, 2015 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants