Why is SonarQube plugin for Jenkins complaining about the open statement if I close it in the finally block?
(I need to validate database connections in a separate funct
I donnot see the point of putting all this nested try blocks with no catch. You need only the first try with the suitable catch and finally where you close your statments and connection after checking them against null.
try
catch
finally
statment
connection
null