Commit a55713a3 authored by manohar's avatar manohar

unnecessary imports removed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102356 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7e4aa872
...@@ -21,7 +21,7 @@ import java.sql.Timestamp; ...@@ -21,7 +21,7 @@ import java.sql.Timestamp;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import org.apache.poi.hssf.record.formula.functions.Round; //import org.apache.poi.hssf.record.formula.functions.Round;
import org.w3c.dom.CDATASection; import org.w3c.dom.CDATASection;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
......
...@@ -28,7 +28,7 @@ import org.w3c.dom.Document; ...@@ -28,7 +28,7 @@ import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import bsh.Capabilities; //import bsh.Capabilities;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.utility.GenericUtility; import ibase.webitm.utility.GenericUtility;
import java.sql.Statement; import java.sql.Statement;
...@@ -53,7 +53,7 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -53,7 +53,7 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
GenVal genval =new GenVal(); GenVal genval =new GenVal();
ValidatorEJB validatorEJB=new ValidatorEJB(); //ValidatorEJB validatorEJB=new ValidatorEJB();
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException, ITMException public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException, ITMException
...@@ -219,8 +219,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -219,8 +219,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
else if (childNodeName.equalsIgnoreCase("site_code")) else if (childNodeName.equalsIgnoreCase("site_code"))
{ {
siteCode = checkNull(genericUtility.getColumnValue("site_code", dom)); siteCode = checkNull(genericUtility.getColumnValue("site_code", dom));
// 08-Jul-16 manoharan this itself is validator
errCode = validatorEJB.isSiteCode(siteCode,"ADJRCP"); //errCode = validatorEJB.isSiteCode(siteCode,"ADJRCP");
errCode = isSiteCode(siteCode,"ADJRCP");
if(errCode!=null && errCode.trim().length() > 0) if(errCode!=null && errCode.trim().length() > 0)
{ {
errList.add(errCode); errList.add(errCode);
...@@ -808,7 +809,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -808,7 +809,9 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
else if (childNodeName.equalsIgnoreCase("site_code__mfg")) else if (childNodeName.equalsIgnoreCase("site_code__mfg"))
{ {
siteCode=checkNull(genericUtility.getColumnValue("site_code__mfg",dom)); siteCode=checkNull(genericUtility.getColumnValue("site_code__mfg",dom));
errCode = validatorEJB.isSiteCode(siteCode,"ADJRCP"); //done // 08-jul-16 manoharan this itself is validator
//errCode = validatorEJB.isSiteCode(siteCode,"ADJRCP"); //done
errCode = isSiteCode(siteCode,"ADJRCP"); //done
if(errCode!=null && errCode.trim().length() > 0) if(errCode!=null && errCode.trim().length() > 0)
{ {
errList.add(errCode); errList.add(errCode);
......
...@@ -45,7 +45,7 @@ import org.apache.poi.hssf.usermodel.HSSFRow; ...@@ -45,7 +45,7 @@ import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.util.HSSFCellUtil; import org.apache.poi.hssf.util.HSSFCellUtil;
import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddress;
import com.sun.org.apache.xerces.internal.util.URI.MalformedURIException; //import com.sun.org.apache.xerces.internal.util.URI.MalformedURIException;
import java.net.HttpURLConnection; import java.net.HttpURLConnection;
import java.net.InetAddress; import java.net.InetAddress;
......
...@@ -358,11 +358,11 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In ...@@ -358,11 +358,11 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In
System.out.println("@@ resultString is : " + errString); System.out.println("@@ resultString is : " + errString);
} }
} //try } //try
catch(FileNotFoundException fne) /* catch(FileNotFoundException fne)
{ {
System.out.println("!!! File Not Found Exception : From InvoiceAmdPrs.java " + fne.getMessage()); System.out.println("!!! File Not Found Exception : From InvoiceAmdPrs.java " + fne.getMessage());
throw new ITMException(fne); throw new ITMException(fne);
} }*/
catch (SQLException se) catch (SQLException se)
{ {
System.out.println("!!! SQLException : From InvoiceAmdPrs.java :" + se.getMessage() + ":"); System.out.println("!!! SQLException : From InvoiceAmdPrs.java :" + se.getMessage() + ":");
......
...@@ -42,7 +42,7 @@ import ibase.system.config.*; ...@@ -42,7 +42,7 @@ import ibase.system.config.*;
//import javax.ejb.Stateless; //import javax.ejb.Stateless;
import javax.naming.InitialContext; import javax.naming.InitialContext;
import org.apache.poi.hssf.record.formula.functions.Today; //import org.apache.poi.hssf.record.formula.functions.Today;
//@Stateless //@Stateless
public class CalculateCommission public class CalculateCommission
{ {
......
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