BF [ 1874419 ] JDBC Statement not close in a finally block - fixed for ARequest
(fixed minor issue with rev. 4494)
This commit is contained in:
parent
75a342b900
commit
07d60791bc
|
|
@ -149,16 +149,6 @@ public class ARequest implements ActionListener
|
||||||
{
|
{
|
||||||
log.log(Level.SEVERE, sql, e);
|
log.log(Level.SEVERE, sql, e);
|
||||||
}
|
}
|
||||||
try
|
|
||||||
{
|
|
||||||
if (pstmt != null)
|
|
||||||
pstmt.close ();
|
|
||||||
pstmt = null;
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
pstmt = null;
|
|
||||||
}
|
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
DB.close(rs, pstmt);
|
DB.close(rs, pstmt);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue