Commit 4ad58ed1 authored by mnair's avatar mnair

changes in checknull method

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184722 ce508802-f39f-4f6c-b175-0d175dae99d5
parent af8d824a
......@@ -13144,16 +13144,17 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
}
return input.trim();
}
//Added By PriyankaC on 1FEB2018..[END]
private String checkNull(String str) {
if (str == null) {
return "";
} else {
return str;
//Added By PriyankaC on 1FEB2018..[END]
//Changes by mayur on 10-MAY-2018--START
private String checkNull(String input)
{
if (input == null || "null".equalsIgnoreCase(input) || "undefined".equalsIgnoreCase(input))
{
input= "";
}
return input.trim();
}
//Changes by mayur on 10-MAY-2018--END
private double checkIntNull(String str) {
if (str == null || str.trim().length() == 0) {
return 0;
......
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