Organize imports and some parameterizing
This commit is contained in:
parent
8541d6a704
commit
b3b2ba9284
|
@ -16,14 +16,21 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedReader;
|
||||||
import java.math.*;
|
import java.io.DataOutputStream;
|
||||||
import java.util.*;
|
import java.io.InputStreamReader;
|
||||||
import java.util.logging.*;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.net.*;
|
import java.math.BigDecimal;
|
||||||
import javax.net.ssl.*;
|
import java.net.URL;
|
||||||
|
import java.net.URLDecoder;
|
||||||
|
import java.net.URLEncoder;
|
||||||
|
import java.util.Properties;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import org.compiere.util.*;
|
import javax.net.ssl.HttpsURLConnection;
|
||||||
|
|
||||||
|
import org.compiere.util.CLogger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Payment Processor Abstract Class
|
* Payment Processor Abstract Class
|
||||||
|
@ -72,7 +79,7 @@ public abstract class PaymentProcessor
|
||||||
PaymentProcessor myProcessor = null;
|
PaymentProcessor myProcessor = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Class ppClass = Class.forName(className);
|
Class<?> ppClass = Class.forName(className);
|
||||||
if (ppClass != null)
|
if (ppClass != null)
|
||||||
myProcessor = (PaymentProcessor)ppClass.newInstance();
|
myProcessor = (PaymentProcessor)ppClass.newInstance();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue