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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress spotbugs false positive in Java 11 #27

Merged
merged 2 commits into from
Apr 24, 2019

Conversation

casperboone
Copy link
Member

In Java 11 SpotBugs reports an issue about a redundant nullcheck for try with resources.

Unfortunately, this is a common issue with no fix available:

This PR suppresses the warning.

I've also added JDK 11 to the Travis config (we would have been able to see the error if we/I had done this earlier 馃槥) .

Copy link
Member

@FWDekker FWDekker left a comment

Choose a reason for hiding this comment

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

LGTM

@casperboone casperboone merged commit c57f605 into master Apr 24, 2019
@casperboone casperboone deleted the java-11-false-positive branch April 24, 2019 15:13
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.

None yet

2 participants