Commit ff53d4da authored by kshinde's avatar kshinde

Bug fix

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196774 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ec9e418a
...@@ -11724,11 +11724,6 @@ public class FinCommon ...@@ -11724,11 +11724,6 @@ public class FinCommon
*/ */
public String getProject(String refSer,String refId,Connection conn) throws ITMException//Added by Jiten public String getProject(String refSer,String refId,Connection conn) throws ITMException//Added by Jiten
{ {
Statement stmt = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "",projectCode = "",tname="";
try{
Statement stmt = null; Statement stmt = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
...@@ -11773,19 +11768,6 @@ public class FinCommon ...@@ -11773,19 +11768,6 @@ public class FinCommon
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
}catch(Exception e){
System.out.println("Exception in getProject [Fincommon]"+e);
e.printStackTrace();
throw new ITMException(e);
}
finally{
try{
if(stmt != null) stmt.close();
if(rs != null)rs.close();
}catch(Exception e1){}
}
return projectCode;
}catch(Exception e){ }catch(Exception e){
System.out.println("Exception in getProject [Fincommon]"+e); System.out.println("Exception in getProject [Fincommon]"+e);
e.printStackTrace(); e.printStackTrace();
......
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