Commit 79258d47 authored by msharma's avatar msharma

issue resolved in pickrate method while getting rate for item


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97145 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 648d6dc1
...@@ -9006,12 +9006,12 @@ public class DistCommon ...@@ -9006,12 +9006,12 @@ public class DistCommon
} }
if (rs != null && !rs.isClosed()) if (rs != null )
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null && !pstmt.isClosed()) if (pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -9026,12 +9026,12 @@ public class DistCommon ...@@ -9026,12 +9026,12 @@ public class DistCommon
} }
} }
if (rs != null && !rs.isClosed()) if (rs != null )
{ {
rs.close(); rs.close();
rs = null; rs = null;
} }
if (pstmt != null && !pstmt.isClosed()) if (pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
......
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