Why Sonar analyzer reports the following code as a violation and a possible connection leak

前端 未结 0 608
不知归路
不知归路 2021-01-21 20:11

I have a code that looks like this,

Connection con = null;
PreparedStatement ps1 = null;
ResultSet rs1 = null;

try{
   con = .getConnec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题