Peter Somogyi created HBASE-25499:
-------------------------------------
Summary: False-positive findbugs issue on branch-2.2
Key: HBASE-25499
URL: https://issues.apache.org/jira/browse/HBASE-25499
Project: HBase
Issue Type: Bug
Components: findbugs
Affects Versions: 2.2.7
Reporter: Peter Somogyi
Assignee: Peter Somogyi
Findbugs reports a false-positive issue.
new org.apache.hadoop.hbase.rest.client.Client(Cluster, String, Optional,
Optional) may fail to clean up java.io.InputStream
Try-with-resource block is used so the resource is cleaned up but findbugs
thinks it otherwise. I tried to reproduce the problem locally and using the
same docker container nightly test is using but findbugs did not report the
problem for me.
Since branch-2.2 will be EOL soon I'd like to just add SuppressWarning to
ignore the false-positive findbugs warning.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)