Commit 009c2ba0 authored by agaikwad's avatar agaikwad

remove if condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@165088 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ebc63c02
...@@ -102,14 +102,8 @@ public class QcOrdResultFinish extends ActionHandlerEJB implements QcOrdResultFi ...@@ -102,14 +102,8 @@ public class QcOrdResultFinish extends ActionHandlerEJB implements QcOrdResultFi
pstmt = null; pstmt = null;
} }
if( errString != null && errString.trim().length() > 0 ) if( errString == null )
{ {
conn.rollback();
return errString;
}
else
{
conn.commit(); conn.commit();
errString = itmDBAccessEJB.getErrorString("","VTCNLSUCC",""); errString = itmDBAccessEJB.getErrorString("","VTCNLSUCC","");
} }
......
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