haridsv commented on PR #2226: URL: https://github.com/apache/phoenix/pull/2226#issuecomment-3182385972
The below waring is in the existing code, not a new change in this PR: > org.apache.phoenix.util.TupleUtil.getResultSet(Tuple, TableName, Connection, boolean) may fail to clean up java.sql.Statement on checked exception > -- > | Bug type OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE (click for details)In class org.apache.phoenix.util.TupleUtilIn method org.apache.phoenix.util.TupleUtil.getResultSet(Tuple, TableName, Connection, boolean)Reference type java.sql.Statement1 instances of obligation remainingObligation to clean up resource created at TupleUtil.java:[line 243] is not dischargedRemaining obligations: {Statement x 1} > > <br class="Apple-interchange-newline">org.apache.phoenix.util.TupleUtil.getResultSet(Tuple, TableName, Connection, boolean) may fail to clean up java.sql.Statement on checked exception > [Bug type OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE (click for details)](https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-2226/10/artifact/yetus-general-check/output/new-spotbugs-phoenix-core-client.html#OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE) > In class org.apache.phoenix.util.TupleUtil > In method org.apache.phoenix.util.TupleUtil.getResultSet(Tuple, TableName, Connection, boolean) > Reference type java.sql.Statement > 1 instances of obligation remaining > Obligation to clean up resource created at TupleUtil.java:[line 243] is not discharged > Remaining obligations: {Statement x 1} However, the fix is simple, so I can take care of it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org