Commit 4ea00470 authored by sjarande's avatar sjarande

changes in pickRate method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99511 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 283f4106
......@@ -9144,12 +9144,12 @@ public class DistCommon
}
}
if (rs != null && !rs.isClosed())
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null && !pstmt.isClosed())
if (pstmt != null)
{
pstmt.close();
pstmt = null;
......@@ -9364,12 +9364,12 @@ public class DistCommon
throw new ITMException(e);
}
}
if(rs != null && !rs.isClosed())
if(rs != null )
{
rs.close();
rs = null;
}
if (pstmt != null && !pstmt.isClosed())
if (pstmt != null )
{
pstmt.clearParameters();
pstmt.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment