Commit 15e34869 authored by ysawant's avatar ysawant

*Added changes in TourIC component [15-01-2020]

TourIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215186 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 62ffbc9a
......@@ -142,7 +142,7 @@ public class TourIC extends ValidatorEJB implements TourICLocal,TourICRemote
}
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
......@@ -1752,10 +1752,14 @@ public class TourIC extends ValidatorEJB implements TourICLocal,TourICRemote
}
return msgType;
}
private String checkNull(String input)
{
return input == null ? "" : input;
}
if (input == null)
{
input = "";
}
return input.trim();
}
}
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