IDEMPIERE-4098 CLogger usage pattern clean up
This commit is contained in:
parent
496e9d4d2f
commit
f46b8afb5c
|
@ -45,7 +45,7 @@ import org.compiere.util.DB;
|
||||||
public class ApplyMigrationScripts extends SvrProcess {
|
public class ApplyMigrationScripts extends SvrProcess {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ApplyMigrationScripts.class);
|
private static final CLogger log = CLogger.getCLogger(ApplyMigrationScripts.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String doIt() throws Exception {
|
protected String doIt() throws Exception {
|
||||||
|
|
|
@ -33,7 +33,7 @@ import org.compiere.util.DB;
|
||||||
public class SignDatabaseBuild
|
public class SignDatabaseBuild
|
||||||
{
|
{
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class);
|
private static final CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class);
|
||||||
|
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.compiere.util.DB;
|
||||||
public class DocumentTypeVerify extends SvrProcess
|
public class DocumentTypeVerify extends SvrProcess
|
||||||
{
|
{
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (DocumentTypeVerify.class);
|
private static final CLogger s_log = CLogger.getCLogger (DocumentTypeVerify.class);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -64,7 +64,7 @@ public class ReplicationLocal extends SvrProcess
|
||||||
private Timestamp m_replicationStart = new Timestamp (m_start);
|
private Timestamp m_replicationStart = new Timestamp (m_start);
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger(ReplicationLocal.class);
|
private static final CLogger s_log = CLogger.getCLogger(ReplicationLocal.class);
|
||||||
|
|
||||||
/** Remote class */
|
/** Remote class */
|
||||||
private static String REMOTE = "org.compiere.process.ReplicationRemote";
|
private static String REMOTE = "org.compiere.process.ReplicationRemote";
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.compiere.util.Env;
|
||||||
public class RoleAccessUpdate extends SvrProcess
|
public class RoleAccessUpdate extends SvrProcess
|
||||||
{
|
{
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (RoleAccessUpdate.class);
|
private static final CLogger s_log = CLogger.getCLogger (RoleAccessUpdate.class);
|
||||||
|
|
||||||
/** Update Role */
|
/** Update Role */
|
||||||
private int p_AD_Role_ID = -1;
|
private int p_AD_Role_ID = -1;
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.compiere.util.Trx;
|
||||||
public class SequenceCheck extends SvrProcess
|
public class SequenceCheck extends SvrProcess
|
||||||
{
|
{
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (SequenceCheck.class);
|
private static final CLogger s_log = CLogger.getCLogger (SequenceCheck.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepare - e.g., get Parameters.
|
* Prepare - e.g., get Parameters.
|
||||||
|
|
|
@ -33,7 +33,7 @@ import org.compiere.util.Trx;
|
||||||
public class SynchronizeTerminology extends SvrProcess
|
public class SynchronizeTerminology extends SvrProcess
|
||||||
{
|
{
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (SynchronizeTerminology.class);
|
private static final CLogger s_log = CLogger.getCLogger (SynchronizeTerminology.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepare - e.g., get Parameters.
|
* Prepare - e.g., get Parameters.
|
||||||
|
|
|
@ -54,7 +54,7 @@ import org.w3c.dom.NodeList;
|
||||||
*/
|
*/
|
||||||
public class AddressLookup implements AddressLookupInterface {
|
public class AddressLookup implements AddressLookupInterface {
|
||||||
/** The logger. */
|
/** The logger. */
|
||||||
private static CLogger log = CLogger.getCLogger(AddressLookup.class);
|
private static final CLogger log = CLogger.getCLogger(AddressLookup.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The access code which is used along with clientID to authenticate the
|
* The access code which is used along with clientID to authenticate the
|
||||||
|
|
|
@ -131,7 +131,7 @@ public class GraphColumn
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private static CLogger log = CLogger.getCLogger (GraphColumn.class);
|
private static final CLogger log = CLogger.getCLogger (GraphColumn.class);
|
||||||
/** Integer Number Format */
|
/** Integer Number Format */
|
||||||
private static DecimalFormat s_format = DisplayType.getNumberFormat(DisplayType.Integer);
|
private static DecimalFormat s_format = DisplayType.getNumberFormat(DisplayType.Integer);
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ import org.eclipse.equinox.app.IApplicationContext;
|
||||||
*/
|
*/
|
||||||
public class SignDatabaseBuildApplication implements IApplication {
|
public class SignDatabaseBuildApplication implements IApplication {
|
||||||
|
|
||||||
private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuildApplication.class);
|
private static final CLogger s_log = CLogger.getCLogger (SignDatabaseBuildApplication.class);
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
|
* @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext)
|
||||||
|
|
|
@ -52,7 +52,7 @@ import org.osgi.service.event.Event;
|
||||||
*/
|
*/
|
||||||
public class RequestEventHandler extends AbstractEventHandler implements ManagedService
|
public class RequestEventHandler extends AbstractEventHandler implements ManagedService
|
||||||
{
|
{
|
||||||
private static CLogger s_log = CLogger.getCLogger (RequestEventHandler.class);
|
private static final CLogger s_log = CLogger.getCLogger (RequestEventHandler.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void doHandleEvent(Event event)
|
protected void doHandleEvent(Event event)
|
||||||
|
|
|
@ -120,7 +120,7 @@ public abstract class AbstractExcelExporter
|
||||||
public abstract boolean isPageBreak(int row, int col);
|
public abstract boolean isPageBreak(int row, int col);
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected final CLogger log = CLogger.getCLogger(getClass());
|
protected final transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
//
|
//
|
||||||
protected HSSFWorkbook m_workbook;
|
protected HSSFWorkbook m_workbook;
|
||||||
private HSSFDataFormat m_dataFormat;
|
private HSSFDataFormat m_dataFormat;
|
||||||
|
|
|
@ -70,7 +70,7 @@ import org.supercsv.prefs.CsvPreference;
|
||||||
public class GridTabCSVExporter implements IGridTabExporter
|
public class GridTabCSVExporter implements IGridTabExporter
|
||||||
{
|
{
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(GridTabCSVExporter.class);
|
private static final CLogger log = CLogger.getCLogger(GridTabCSVExporter.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void export(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file,int indxDetailSelected) {
|
public void export(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file,int indxDetailSelected) {
|
||||||
|
|
|
@ -128,7 +128,7 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
private boolean isSingleTrx = false;
|
private boolean isSingleTrx = false;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(GridTabCSVImporter.class);
|
private static final CLogger log = CLogger.getCLogger(GridTabCSVImporter.class);
|
||||||
|
|
||||||
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset , String importMode) {
|
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset , String importMode) {
|
||||||
return fileImport(gridTab, childs, filestream, charset, importMode, null);
|
return fileImport(gridTab, childs, filestream, charset, importMode, null);
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.compiere.util.Env;
|
||||||
*/
|
*/
|
||||||
public class GridTabWrapper implements InvocationHandler
|
public class GridTabWrapper implements InvocationHandler
|
||||||
{
|
{
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(GridTabWrapper.class);
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public static <T> T create(GridTab gridTab, Class<T> cl)
|
public static <T> T create(GridTab gridTab, Class<T> cl)
|
||||||
|
|
|
@ -67,7 +67,7 @@ public class POWrapper implements InvocationHandler
|
||||||
return (T)wrapper.getPO();
|
return (T)wrapper.getPO();
|
||||||
}
|
}
|
||||||
|
|
||||||
private final CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(POWrapper.class);
|
||||||
private final PO po;
|
private final PO po;
|
||||||
|
|
||||||
private POWrapper(PO po)
|
private POWrapper(PO po)
|
||||||
|
|
|
@ -36,7 +36,7 @@ import org.compiere.util.Env;
|
||||||
*/
|
*/
|
||||||
public class ProductPriceValidator implements ModelValidator {
|
public class ProductPriceValidator implements ModelValidator {
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(ProductPriceValidator.class);
|
private static final CLogger log = CLogger.getCLogger(ProductPriceValidator.class);
|
||||||
private int m_AD_Client_ID;
|
private int m_AD_Client_ID;
|
||||||
|
|
||||||
public int getAD_Client_ID() {
|
public int getAD_Client_ID() {
|
||||||
|
|
|
@ -54,7 +54,7 @@ public class UUIDGenerator extends SvrProcess {
|
||||||
private boolean isFillUUID = false;
|
private boolean isFillUUID = false;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(UUIDGenerator.class);
|
private static final CLogger log = CLogger.getCLogger(UUIDGenerator.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.compiere.process.SvrProcess#prepare()
|
* @see org.compiere.process.SvrProcess#prepare()
|
||||||
|
|
|
@ -58,7 +58,7 @@ import org.compiere.util.Util;
|
||||||
public abstract class AbstractDocumentSearch {
|
public abstract class AbstractDocumentSearch {
|
||||||
|
|
||||||
/** the logger */
|
/** the logger */
|
||||||
static CLogger log = CLogger.getCLogger(AbstractDocumentSearch.class);
|
protected static final CLogger log = CLogger.getCLogger(AbstractDocumentSearch.class);
|
||||||
protected boolean windowOpened = false;
|
protected boolean windowOpened = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class GenerateModel
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (GenerateModel.class);
|
private static final CLogger log = CLogger.getCLogger (GenerateModel.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* String representation
|
* String representation
|
||||||
|
|
|
@ -79,7 +79,7 @@ public class GenerateModelJPA
|
||||||
private Timestamp s_run = new Timestamp(System.currentTimeMillis());
|
private Timestamp s_run = new Timestamp(System.currentTimeMillis());
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (GenerateModelJPA.class);
|
private static final CLogger log = CLogger.getCLogger (GenerateModelJPA.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add Header info to buffer
|
* Add Header info to buffer
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class LogAuthFailure {
|
||||||
private static Writer writer;
|
private static Writer writer;
|
||||||
public static String authFailureFilename = "AuthFailure.log";
|
public static String authFailureFilename = "AuthFailure.log";
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(LogAuthFailure.class);
|
private static final CLogger log = CLogger.getCLogger(LogAuthFailure.class);
|
||||||
|
|
||||||
public LogAuthFailure() {
|
public LogAuthFailure() {
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class ModelClassGenerator
|
||||||
public static final String NL = "\n";
|
public static final String NL = "\n";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (ModelClassGenerator.class);
|
private static final CLogger log = CLogger.getCLogger (ModelClassGenerator.class);
|
||||||
|
|
||||||
/** Package Name */
|
/** Package Name */
|
||||||
private String packageName = "";
|
private String packageName = "";
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class ModelInterfaceGenerator
|
||||||
+" *****************************************************************************/\n";
|
+" *****************************************************************************/\n";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ModelInterfaceGenerator.class);
|
private static final CLogger log = CLogger.getCLogger(ModelInterfaceGenerator.class);
|
||||||
|
|
||||||
public ModelInterfaceGenerator(int AD_Table_ID, String directory, String packageName) {
|
public ModelInterfaceGenerator(int AD_Table_ID, String directory, String packageName) {
|
||||||
this.packageName = packageName;
|
this.packageName = packageName;
|
||||||
|
|
|
@ -57,7 +57,7 @@ public final class ProcessUtil {
|
||||||
public static final String JASPER_STARTER_CLASS = "org.adempiere.report.jasper.ReportStarter";
|
public static final String JASPER_STARTER_CLASS = "org.adempiere.report.jasper.ReportStarter";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ProcessUtil.class);
|
private static final CLogger log = CLogger.getCLogger(ProcessUtil.class);
|
||||||
|
|
||||||
private ProcessUtil() {}
|
private ProcessUtil() {}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class MigrateData
|
||||||
} // MigrateData
|
} // MigrateData
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (MigrateData.class);
|
private static final CLogger log = CLogger.getCLogger (MigrateData.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Release 252c
|
* Release 252c
|
||||||
|
|
|
@ -321,9 +321,9 @@ public abstract class Doc
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Static Log */
|
/** Static Log */
|
||||||
protected static CLogger s_log = CLogger.getCLogger(Doc.class);
|
protected static final CLogger s_log = CLogger.getCLogger(Doc.class);
|
||||||
/** Log per Document */
|
/** Log per Document */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
|
|
||||||
/* If the transaction must be managed locally (false if it's managed externally by the caller) */
|
/* If the transaction must be managed locally (false if it's managed externally by the caller) */
|
||||||
private boolean m_manageLocalTrx;
|
private boolean m_manageLocalTrx;
|
||||||
|
|
|
@ -63,7 +63,7 @@ public class DocLine
|
||||||
/** Parent */
|
/** Parent */
|
||||||
private Doc m_doc = null;
|
private Doc m_doc = null;
|
||||||
/** Log */
|
/** Log */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
|
|
||||||
/** Qty */
|
/** Qty */
|
||||||
private BigDecimal m_qty = null;
|
private BigDecimal m_qty = null;
|
||||||
|
|
|
@ -72,7 +72,7 @@ public final class DocTax
|
||||||
private boolean m_salesTax = false;
|
private boolean m_salesTax = false;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(DocTax.class);
|
private static final CLogger log = CLogger.getCLogger(DocTax.class);
|
||||||
|
|
||||||
|
|
||||||
/** Tax Due Acct */
|
/** Tax Due Acct */
|
||||||
|
|
|
@ -1003,7 +1003,7 @@ class Doc_AllocationTax
|
||||||
m_IsSOTrx = isSOTrx;
|
m_IsSOTrx = isSOTrx;
|
||||||
} // Doc_AllocationTax
|
} // Doc_AllocationTax
|
||||||
|
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(Doc_AllocationTax.class);
|
||||||
|
|
||||||
private MAccount m_DiscountAccount;
|
private MAccount m_DiscountAccount;
|
||||||
private BigDecimal m_DiscountAmt;
|
private BigDecimal m_DiscountAmt;
|
||||||
|
|
|
@ -62,7 +62,7 @@ public final class Fact
|
||||||
|
|
||||||
|
|
||||||
/** Log */
|
/** Log */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(Fact.class);
|
||||||
|
|
||||||
/** Document */
|
/** Document */
|
||||||
private Doc m_doc = null;
|
private Doc m_doc = null;
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class Matcher
|
||||||
/** Transaction */
|
/** Transaction */
|
||||||
private String m_trxName = null;
|
private String m_trxName = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (getClass());
|
private static final CLogger log = CLogger.getCLogger (Matcher.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Matching
|
* Matching
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class ProductInfo
|
||||||
private BigDecimal m_qty = Env.ZERO;
|
private BigDecimal m_qty = Env.ZERO;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (getClass());
|
private final static CLogger log = CLogger.getCLogger (ProductInfo.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Product Info (Service, Revenue Recognition).
|
* Get Product Info (Service, Revenue Recognition).
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class CConnection implements Serializable, Cloneable
|
||||||
/** Connection */
|
/** Connection */
|
||||||
private volatile static CConnection s_cc = null;
|
private volatile static CConnection s_cc = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (CConnection.class);
|
private static final CLogger log = CLogger.getCLogger (CConnection.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get/Set default client/server Connection
|
* Get/Set default client/server Connection
|
||||||
|
|
|
@ -92,7 +92,7 @@ public class CreateAdempiere
|
||||||
private Connection m_conn = null;
|
private Connection m_conn = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (CreateAdempiere.class);
|
private static final CLogger log = CLogger.getCLogger (CreateAdempiere.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create Adempiere Database
|
* Create Adempiere Database
|
||||||
|
|
|
@ -33,7 +33,7 @@ import org.compiere.util.Util;
|
||||||
public class Database
|
public class Database
|
||||||
{
|
{
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (Database.class);
|
private static final CLogger log = CLogger.getCLogger (Database.class);
|
||||||
|
|
||||||
/** Oracle ID */
|
/** Oracle ID */
|
||||||
public static String DB_ORACLE = "Oracle";
|
public static String DB_ORACLE = "Oracle";
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class JDBCInfo
|
||||||
private DatabaseMetaData m_md = null;
|
private DatabaseMetaData m_md = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (JDBCInfo.class);
|
private static final CLogger log = CLogger.getCLogger (JDBCInfo.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List All
|
* List All
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class LDAP
|
||||||
} // validate
|
} // validate
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (LDAP.class);
|
private static final CLogger log = CLogger.getCLogger (LDAP.class);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -75,7 +75,7 @@ public abstract class Convert
|
||||||
protected boolean m_verbose = true;
|
protected boolean m_verbose = true;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (Convert.class);
|
private static final CLogger log = CLogger.getCLogger (Convert.class);
|
||||||
|
|
||||||
private static FileOutputStream tempFileOr = null;
|
private static FileOutputStream tempFileOr = null;
|
||||||
private static Writer writerOr;
|
private static Writer writerOr;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.compiere.util.Util;
|
||||||
public abstract class Convert_SQL92 extends Convert {
|
public abstract class Convert_SQL92 extends Convert {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (Convert_SQL92.class);
|
private static final CLogger log = CLogger.getCLogger (Convert_SQL92.class);
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Convert Outer Join.
|
* Convert Outer Join.
|
||||||
|
|
|
@ -58,7 +58,7 @@ public final class ImpFormat
|
||||||
} // ImpFormat
|
} // ImpFormat
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ImpFormat.class);
|
private static final CLogger log = CLogger.getCLogger(ImpFormat.class);
|
||||||
|
|
||||||
private String m_name;
|
private String m_name;
|
||||||
private String m_formatType;
|
private String m_formatType;
|
||||||
|
|
|
@ -100,7 +100,7 @@ public final class ImpFormatRow
|
||||||
private int m_maxLength = 0;
|
private int m_maxLength = 0;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(ImpFormatRow.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sequence No
|
* Sequence No
|
||||||
|
|
|
@ -47,7 +47,7 @@ public final class OFX1ToXML extends InputStream implements Runnable
|
||||||
private String m_ofx = "";
|
private String m_ofx = "";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(OFX1ToXML.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for OFX1ToXML
|
* Constructor for OFX1ToXML
|
||||||
|
|
|
@ -117,7 +117,7 @@ public class Translation implements IApplication
|
||||||
/** Table is centrally maintained */
|
/** Table is centrally maintained */
|
||||||
private boolean m_IsCentrallyMaintained = false;
|
private boolean m_IsCentrallyMaintained = false;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(Translation.class);
|
||||||
/** Properties */
|
/** Properties */
|
||||||
private Properties m_ctx = null;
|
private Properties m_ctx = null;
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class TranslationHandler extends DefaultHandler
|
||||||
private Timestamp m_time = new Timestamp(System.currentTimeMillis());
|
private Timestamp m_time = new Timestamp(System.currentTimeMillis());
|
||||||
private int m_updateCount = 0;
|
private int m_updateCount = 0;
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(TranslationHandler.class);
|
private static final CLogger log = CLogger.getCLogger(TranslationHandler.class);
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
|
@ -44,7 +44,7 @@ import org.compiere.util.Env;
|
||||||
public class ServerBean implements Server
|
public class ServerBean implements Server
|
||||||
{
|
{
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ServerBean.class);
|
private static final CLogger log = CLogger.getCLogger(ServerBean.class);
|
||||||
//
|
//
|
||||||
/**
|
/**
|
||||||
* Post Immediate
|
* Post Immediate
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class StatusBean implements Status
|
||||||
|
|
||||||
/** Logging */
|
/** Logging */
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private static CLogger log = CLogger.getCLogger(StatusBean.class);
|
private static final CLogger log = CLogger.getCLogger(StatusBean.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Version (Date)
|
* Get Version (Date)
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class AccessSqlParser
|
||||||
private static final String ON = " ON ";
|
private static final String ON = " ON ";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(AccessSqlParser.class);
|
||||||
/** Original SQL */
|
/** Original SQL */
|
||||||
private String m_sqlOriginal;
|
private String m_sqlOriginal;
|
||||||
/** SQL Selects */
|
/** SQL Selects */
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.compiere.util.CLogger;
|
||||||
public class ArchiveDB implements IArchiveStore {
|
public class ArchiveDB implements IArchiveStore {
|
||||||
|
|
||||||
|
|
||||||
private final CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(ArchiveDB.class);
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.compiere.model.IArchiveStore#loadLOBData(org.compiere.model.MArchive, org.compiere.model.MStorageProvider)
|
* @see org.compiere.model.IArchiveStore#loadLOBData(org.compiere.model.MArchive, org.compiere.model.MStorageProvider)
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class ArchiveFileSystem implements IArchiveStore {
|
||||||
|
|
||||||
private String ARCHIVE_FOLDER_PLACEHOLDER = "%ARCHIVE_FOLDER%";
|
private String ARCHIVE_FOLDER_PLACEHOLDER = "%ARCHIVE_FOLDER%";
|
||||||
|
|
||||||
private final CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(ArchiveFileSystem.class);
|
||||||
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class AttachmentDBSystem implements IAttachmentStore
|
||||||
|
|
||||||
/** Indicator for zip data */
|
/** Indicator for zip data */
|
||||||
public static final String ZIP = "zip";
|
public static final String ZIP = "zip";
|
||||||
private final CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(AttachmentDBSystem.class);
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.logging.LogManager;
|
import java.util.logging.LogManager;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
@ -27,12 +26,8 @@ import java.util.logging.Logger;
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: CLogger.java,v 1.3 2006/08/09 16:38:47 jjanke Exp $
|
* @version $Id: CLogger.java,v 1.3 2006/08/09 16:38:47 jjanke Exp $
|
||||||
*/
|
*/
|
||||||
public class CLogger extends Logger implements Serializable
|
public class CLogger extends Logger
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -4015949992093043663L;
|
|
||||||
private static final String LAST_INFO = "org.compiere.util.CLogger.lastInfo";
|
private static final String LAST_INFO = "org.compiere.util.CLogger.lastInfo";
|
||||||
private static final String LAST_WARNING = "org.compiere.util.CLogger.lastWarning";
|
private static final String LAST_WARNING = "org.compiere.util.CLogger.lastWarning";
|
||||||
private static final String LAST_ERROR = "org.compiere.util.CLogger.lastError";
|
private static final String LAST_ERROR = "org.compiere.util.CLogger.lastError";
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class MyValidator implements ModelValidator
|
||||||
} // MyValidator
|
} // MyValidator
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(MyValidator.class);
|
private static final CLogger log = CLogger.getCLogger(MyValidator.class);
|
||||||
/** Client */
|
/** Client */
|
||||||
private int m_AD_Client_ID = -1;
|
private int m_AD_Client_ID = -1;
|
||||||
/** User */
|
/** User */
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class OrderTest implements Runnable
|
||||||
|
|
||||||
int m_errors = 0;
|
int m_errors = 0;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (OrderTest.class);
|
private static final CLogger log = CLogger.getCLogger (OrderTest.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run
|
* Run
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class AlertTest extends AdempiereTestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (AlertTest.class);
|
private static final CLogger log = CLogger.getCLogger (AlertTest.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run
|
* Run
|
||||||
|
|
|
@ -41,7 +41,7 @@ public abstract class Config
|
||||||
/** Configuration Data */
|
/** Configuration Data */
|
||||||
protected ConfigurationData p_data = null;
|
protected ConfigurationData p_data = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
static CLogger log = CLogger.getCLogger (Config.class);
|
protected static final CLogger log = CLogger.getCLogger (Config.class);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class ConfigurationData
|
||||||
|
|
||||||
|
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
static CLogger log = CLogger.getCLogger (ConfigurationData.class);
|
protected static final CLogger log = CLogger.getCLogger (ConfigurationData.class);
|
||||||
|
|
||||||
|
|
||||||
/** Properties File name */
|
/** Properties File name */
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class KeyStoreMgt
|
||||||
} // KeyStoreMgt
|
} // KeyStoreMgt
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(KeyStoreMgt.class);
|
private static final CLogger log = CLogger.getCLogger(KeyStoreMgt.class);
|
||||||
/** KeyStore File */
|
/** KeyStore File */
|
||||||
private File m_file = null;
|
private File m_file = null;
|
||||||
/** KeyStore Password */
|
/** KeyStore Password */
|
||||||
|
|
|
@ -19,7 +19,7 @@ import org.xml.sax.helpers.AttributesImpl;
|
||||||
|
|
||||||
public class FileElementHandler implements ElementHandler {
|
public class FileElementHandler implements ElementHandler {
|
||||||
|
|
||||||
private CLogger log = CLogger.getCLogger(FileElementHandler.class);
|
private static final CLogger log = CLogger.getCLogger(FileElementHandler.class);
|
||||||
|
|
||||||
public void packOut(PackOut packout, TransformerHandler packoutHandler,
|
public void packOut(PackOut packout, TransformerHandler packoutHandler,
|
||||||
TransformerHandler docHandler, int recordId) throws Exception {
|
TransformerHandler docHandler, int recordId) throws Exception {
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.osgi.framework.BundleContext;
|
||||||
|
|
||||||
public class PipoDictionaryService implements IDictionaryService {
|
public class PipoDictionaryService implements IDictionaryService {
|
||||||
|
|
||||||
CLogger logger = CLogger.getCLogger(PipoDictionaryService.class.getName());
|
private static final CLogger logger = CLogger.getCLogger(PipoDictionaryService.class.getName());
|
||||||
|
|
||||||
public PipoDictionaryService() {
|
public PipoDictionaryService() {
|
||||||
super();
|
super();
|
||||||
|
|
|
@ -55,7 +55,7 @@ import org.adempiere.pipo2.exception.DatabaseAccessException;
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractElementHandler implements ElementHandler {
|
public abstract class AbstractElementHandler implements ElementHandler {
|
||||||
|
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ctx
|
* @param ctx
|
||||||
|
|
|
@ -44,7 +44,7 @@ import org.compiere.util.Env;
|
||||||
*/
|
*/
|
||||||
public class IDFinder {
|
public class IDFinder {
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(IDFinder.class);
|
private static final CLogger log = CLogger.getCLogger(IDFinder.class);
|
||||||
|
|
||||||
private static Map<String, Integer>idCache = new ConcurrentHashMap<String, Integer>();
|
private static Map<String, Integer>idCache = new ConcurrentHashMap<String, Integer>();
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ import org.compiere.util.Trx;
|
||||||
public class PackIn {
|
public class PackIn {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(PackIn.class);
|
||||||
//update system maintain dictionary, default to false
|
//update system maintain dictionary, default to false
|
||||||
private boolean m_UpdateDictionary = false;
|
private boolean m_UpdateDictionary = false;
|
||||||
private String m_packageDirectory = null;
|
private String m_packageDirectory = null;
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class PackInHandler extends DefaultHandler {
|
||||||
private String packageDirectory = null;
|
private String packageDirectory = null;
|
||||||
private int AD_Package_Imp_ID=0;
|
private int AD_Package_Imp_ID=0;
|
||||||
private int AD_Package_Imp_Inst_ID=0;
|
private int AD_Package_Imp_Inst_ID=0;
|
||||||
private CLogger log = CLogger.getCLogger(PackInHandler.class);
|
private static final CLogger log = CLogger.getCLogger(PackInHandler.class);
|
||||||
private boolean isInit = false;
|
private boolean isInit = false;
|
||||||
private String packageStatus = "Installing";
|
private String packageStatus = "Installing";
|
||||||
private PIPOContext m_ctx = null;
|
private PIPOContext m_ctx = null;
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.compiere.util.Env;
|
||||||
public class PackInProcess extends SvrProcess {
|
public class PackInProcess extends SvrProcess {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(PackInProcess.class);
|
||||||
//update system maintain dictionary, default to false
|
//update system maintain dictionary, default to false
|
||||||
private boolean m_UpdateDictionary = false;
|
private boolean m_UpdateDictionary = false;
|
||||||
private String m_packageDirectory = null;
|
private String m_packageDirectory = null;
|
||||||
|
|
|
@ -25,7 +25,7 @@ public class PoExporter {
|
||||||
private PO po = null;
|
private PO po = null;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private CLogger log = CLogger.getCLogger(getClass());
|
private static final CLogger log = CLogger.getCLogger(PoExporter.class);
|
||||||
private PIPOContext ctx;
|
private PIPOContext ctx;
|
||||||
|
|
||||||
private TransformerHandler transformerHandler;
|
private TransformerHandler transformerHandler;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import org.w3c.dom.Document;
|
||||||
public class FileImportProcessor implements IImportProcessor {
|
public class FileImportProcessor implements IImportProcessor {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (FileImportProcessor.class);
|
protected static final CLogger log = CLogger.getCLogger (FileImportProcessor.class);
|
||||||
|
|
||||||
public void process(Properties ctx, ReplicationProcessor replicationProcessor, String trxName)
|
public void process(Properties ctx, ReplicationProcessor replicationProcessor, String trxName)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
|
@ -46,7 +46,7 @@ import org.compiere.util.CLogger;
|
||||||
public class TopicImportProcessor implements IImportProcessor {
|
public class TopicImportProcessor implements IImportProcessor {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (TopicImportProcessor.class);
|
protected static final CLogger log = CLogger.getCLogger (TopicImportProcessor.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Topic Listener
|
* Topic Listener
|
||||||
|
|
|
@ -113,7 +113,7 @@ public class TopicListener implements MessageListener {
|
||||||
private ReplicationProcessor replicationProcessor = null;
|
private ReplicationProcessor replicationProcessor = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (TopicListener.class);
|
protected static final CLogger log = CLogger.getCLogger (TopicListener.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is Durable Subscription
|
* Is Durable Subscription
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class ExportModelValidator implements ModelValidator {
|
||||||
public static final String CTX_IsReplicationEnabled = "#IsReplicationEnabled";
|
public static final String CTX_IsReplicationEnabled = "#IsReplicationEnabled";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ExportModelValidator.class);
|
private static final CLogger log = CLogger.getCLogger(ExportModelValidator.class);
|
||||||
|
|
||||||
/** Client */
|
/** Client */
|
||||||
private int m_AD_Client_ID = -1;
|
private int m_AD_Client_ID = -1;
|
||||||
|
|
|
@ -77,7 +77,7 @@ import org.w3c.dom.Text;
|
||||||
public class ExportHelper {
|
public class ExportHelper {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ExportHelper.class);
|
private static final CLogger log = CLogger.getCLogger(ExportHelper.class);
|
||||||
|
|
||||||
/** XML Document */
|
/** XML Document */
|
||||||
private Document outDocument = null;
|
private Document outDocument = null;
|
||||||
|
|
|
@ -56,7 +56,7 @@ import org.w3c.dom.Document;
|
||||||
public class HDDExportProcessor implements IExportProcessor {
|
public class HDDExportProcessor implements IExportProcessor {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (getClass());
|
protected static final CLogger log = CLogger.getCLogger (HDDExportProcessor.class);
|
||||||
|
|
||||||
public void process(Properties ctx, MEXPProcessor expProcessor, Document document, Trx trx)
|
public void process(Properties ctx, MEXPProcessor expProcessor, Document document, Trx trx)
|
||||||
throws Exception
|
throws Exception
|
||||||
|
|
|
@ -69,7 +69,7 @@ import org.w3c.dom.Document;
|
||||||
public class TopicExportProcessor implements IExportProcessor {
|
public class TopicExportProcessor implements IExportProcessor {
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger (getClass());
|
protected static final CLogger log = CLogger.getCLogger (TopicExportProcessor.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -79,11 +79,8 @@ import org.w3c.dom.NodeList;
|
||||||
*/
|
*/
|
||||||
public class ImportHelper {
|
public class ImportHelper {
|
||||||
|
|
||||||
/** Instance Logger */
|
/** Logger */
|
||||||
private CLogger log = CLogger.getCLogger(ImportHelper.class);
|
private static final CLogger log = CLogger.getCLogger(ImportHelper.class);
|
||||||
|
|
||||||
/** Static Logger */
|
|
||||||
private static CLogger s_log = CLogger.getCLogger(ImportHelper.class);
|
|
||||||
|
|
||||||
/** Custom Date Format */
|
/** Custom Date Format */
|
||||||
private SimpleDateFormat m_customDateFormat = null;
|
private SimpleDateFormat m_customDateFormat = null;
|
||||||
|
@ -567,10 +564,10 @@ public class ImportHelper {
|
||||||
.setParameters(value)
|
.setParameters(value)
|
||||||
.firstOnly();
|
.firstOnly();
|
||||||
|
|
||||||
if (s_log.isLoggable(Level.INFO)) s_log.info("Client_Value =[" + value + "]");
|
if (log.isLoggable(Level.INFO)) log.info("Client_Value =[" + value + "]");
|
||||||
if(result != null)
|
if(result != null)
|
||||||
{
|
{
|
||||||
if (s_log.isLoggable(Level.INFO)) s_log.info("AD_Client_ID = " + result.getAD_Client_ID());
|
if (log.isLoggable(Level.INFO)) log.info("AD_Client_ID = " + result.getAD_Client_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -16,11 +16,10 @@ public class MD5Impl {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private CLogger log = null;
|
private static final CLogger log = CLogger.getCLogger(MD5Impl.class);
|
||||||
|
|
||||||
public MD5Impl() {
|
public MD5Impl() {
|
||||||
super();
|
super();
|
||||||
log = CLogger.getCLogger(MD5Impl.class);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -136,7 +136,7 @@ public class ReportStarter implements ProcessCall, ClientProcess
|
||||||
{
|
{
|
||||||
private static final int DEFAULT_SWAP_MAX_PAGES = 100;
|
private static final int DEFAULT_SWAP_MAX_PAGES = 100;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ReportStarter.class);
|
private static final CLogger log = CLogger.getCLogger(ReportStarter.class);
|
||||||
private static File REPORT_HOME = null;
|
private static File REPORT_HOME = null;
|
||||||
public static final JasperReportsContext jasperReportStartContext;
|
public static final JasperReportsContext jasperReportStartContext;
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ public final class Prop implements Serializable {
|
||||||
/** Container for Properties */
|
/** Container for Properties */
|
||||||
private volatile static Properties s_prop = new Properties();
|
private volatile static Properties s_prop = new Properties();
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(Prop.class);
|
private static final CLogger log = CLogger.getCLogger(Prop.class);
|
||||||
|
|
||||||
|
|
||||||
private static String IMAGE_PATH(){
|
private static String IMAGE_PATH(){
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class LdapConnectionHandler extends Thread
|
||||||
/** Ldap Model */
|
/** Ldap Model */
|
||||||
private MLdapProcessor m_model = null;
|
private MLdapProcessor m_model = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (LdapConnectionHandler.class);
|
private static final CLogger log = CLogger.getCLogger (LdapConnectionHandler.class);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class LdapMessage
|
||||||
/** Decoder */
|
/** Decoder */
|
||||||
private BerDecoder decoder = null;
|
private BerDecoder decoder = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (LdapMessage.class);
|
private static final CLogger log = CLogger.getCLogger (LdapMessage.class);
|
||||||
/** Protocol Operation */
|
/** Protocol Operation */
|
||||||
private int m_protocolOp = -1;
|
private int m_protocolOp = -1;
|
||||||
/** Message Id needed for the reply message */
|
/** Message Id needed for the reply message */
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class LdapResult
|
||||||
/** Encoder */
|
/** Encoder */
|
||||||
private BerEncoder m_encoder = null;
|
private BerEncoder m_encoder = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (LdapResult.class);
|
private static final CLogger log = CLogger.getCLogger (LdapResult.class);
|
||||||
/** Error number */
|
/** Error number */
|
||||||
private int errNo = LDAP_SUCCESS;
|
private int errNo = LDAP_SUCCESS;
|
||||||
/** Error String */
|
/** Error String */
|
||||||
|
|
|
@ -93,7 +93,7 @@ public abstract class AdempiereServer implements Runnable
|
||||||
private long m_nextWork = 0;
|
private long m_nextWork = 0;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
/** System */
|
/** System */
|
||||||
protected volatile static MSystem p_system = null;
|
protected volatile static MSystem p_system = null;
|
||||||
/** Client */
|
/** Client */
|
||||||
|
|
|
@ -86,7 +86,7 @@ public class AdempiereServerMgr implements ServiceTrackerCustomizer<IServerFacto
|
||||||
/** Singleton */
|
/** Singleton */
|
||||||
private static AdempiereServerMgr m_serverMgr = null;
|
private static AdempiereServerMgr m_serverMgr = null;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected static final CLogger log = CLogger.getCLogger(AdempiereServerMgr.class);
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Adempiere Server Manager
|
* Adempiere Server Manager
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class EMailProcessor
|
||||||
|
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected static final CLogger log = CLogger.getCLogger(EMailProcessor.class);
|
||||||
|
|
||||||
/** Process Error */
|
/** Process Error */
|
||||||
protected static final int ERROR = 0;
|
protected static final int ERROR = 0;
|
||||||
|
|
|
@ -45,7 +45,7 @@ public abstract class LogFileCallable {
|
||||||
protected static final int BLOCK_SIZE = 1024 * 1024 * 5;
|
protected static final int BLOCK_SIZE = 1024 * 1024 * 5;
|
||||||
protected static final String s_dirAccessFileName = "dirAccess.txt";
|
protected static final String s_dirAccessFileName = "dirAccess.txt";
|
||||||
|
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected transient CLogger log = CLogger.getCLogger(getClass());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* default constructor
|
* default constructor
|
||||||
|
|
|
@ -107,7 +107,7 @@ public class AdempiereMonitor extends HttpServlet
|
||||||
private static final long serialVersionUID = -7455613826465213838L;
|
private static final long serialVersionUID = -7455613826465213838L;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(AdempiereMonitor.class);
|
private static final CLogger log = CLogger.getCLogger(AdempiereMonitor.class);
|
||||||
/** The Server */
|
/** The Server */
|
||||||
private static IServerManager m_serverMgr = null;
|
private static IServerManager m_serverMgr = null;
|
||||||
/** Message */
|
/** Message */
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.util.WebUtil;
|
||||||
|
|
||||||
public class LoggedSessionListener implements HttpSessionListener, ServletContextListener, ServerStateChangeListener{
|
public class LoggedSessionListener implements HttpSessionListener, ServletContextListener, ServerStateChangeListener{
|
||||||
private static Hashtable<String, HttpSession> AD_SessionList = new Hashtable<String, HttpSession>();
|
private static Hashtable<String, HttpSession> AD_SessionList = new Hashtable<String, HttpSession>();
|
||||||
private static CLogger logger = CLogger.getCLogger(LoggedSessionListener.class);
|
private static final CLogger logger = CLogger.getCLogger(LoggedSessionListener.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sessionCreated(HttpSessionEvent evt) {
|
public void sessionCreated(HttpSessionEvent evt) {
|
||||||
|
|
|
@ -171,7 +171,7 @@ public class ValuePreference extends Window implements EventListener<Event>
|
||||||
/** The Menu Icon */
|
/** The Menu Icon */
|
||||||
//private static String ICON_URL = "images/VPreference16.png";
|
//private static String ICON_URL = "images/VPreference16.png";
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ValuePreference.class);
|
private static final CLogger log = CLogger.getCLogger(ValuePreference.class);
|
||||||
private AbstractADWindowContent adwindowContent;
|
private AbstractADWindowContent adwindowContent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class WArchive implements EventListener<Event>
|
||||||
StringBuffer m_where = null;
|
StringBuffer m_where = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (WArchive.class);
|
private static final CLogger log = CLogger.getCLogger (WArchive.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display Request Options - New/Existing.
|
* Display Request Options - New/Existing.
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class WRequest implements EventListener<Event>
|
||||||
StringBuffer m_where = null;
|
StringBuffer m_where = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (WRequest.class);
|
private static final CLogger log = CLogger.getCLogger (WRequest.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display Request Options - New/Existing.
|
* Display Request Options - New/Existing.
|
||||||
|
|
|
@ -194,7 +194,7 @@ public class WAcctViewer extends Window implements EventListener<Event>
|
||||||
private RModel m_rmodel;
|
private RModel m_rmodel;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(WAcctViewer.class);
|
private static final CLogger log = CLogger.getCLogger(WAcctViewer.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default constructor
|
* Default constructor
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class WAcctViewerData
|
||||||
private String m_ref2 = null;
|
private String m_ref2 = null;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(WAcctViewerData.class);
|
private static final CLogger log = CLogger.getCLogger(WAcctViewerData.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class ADSortTab extends Panel implements IADTabpanel
|
||||||
} // ADSortTab
|
} // ADSortTab
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
static CLogger log = CLogger.getCLogger(ADSortTab.class);
|
protected static final CLogger log = CLogger.getCLogger(ADSortTab.class);
|
||||||
private int m_WindowNo;
|
private int m_WindowNo;
|
||||||
private int m_AD_Table_ID;
|
private int m_AD_Table_ID;
|
||||||
private String m_TableName = null;
|
private String m_TableName = null;
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class ADWindowToolbar extends FToolbar implements EventListener<Event>
|
||||||
|
|
||||||
public static final String BTNPREFIX = "Btn";
|
public static final String BTNPREFIX = "Btn";
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(ADWindowToolbar.class);
|
private static final CLogger log = CLogger.getCLogger(ADWindowToolbar.class);
|
||||||
|
|
||||||
private ToolBarButton btnIgnore;
|
private ToolBarButton btnIgnore;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ import org.compiere.util.Util;
|
||||||
public abstract class AbstractADTabbox extends AbstractUIPart implements IADTabbox
|
public abstract class AbstractADTabbox extends AbstractUIPart implements IADTabbox
|
||||||
{
|
{
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger (AbstractADTabbox.class);
|
private static final CLogger log = CLogger.getCLogger (AbstractADTabbox.class);
|
||||||
/** List of dependent Variables */
|
/** List of dependent Variables */
|
||||||
private ArrayList<String> m_dependents = new ArrayList<String>();
|
private ArrayList<String> m_dependents = new ArrayList<String>();
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,7 @@ public final class AEnv
|
||||||
/** Workflow Window */
|
/** Workflow Window */
|
||||||
private static int s_workflow_Window_ID = 0;
|
private static int s_workflow_Window_ID = 0;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(AEnv.class);
|
private static final CLogger log = CLogger.getCLogger(AEnv.class);
|
||||||
|
|
||||||
/** Window Cache */
|
/** Window Cache */
|
||||||
private static Map<String, CCache<Integer,GridWindowVO>> windowCache = new HashMap<String, CCache<Integer,GridWindowVO>>();
|
private static Map<String, CCache<Integer,GridWindowVO>> windowCache = new HashMap<String, CCache<Integer,GridWindowVO>>();
|
||||||
|
|
|
@ -112,7 +112,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
|
||||||
private static final String ON_COMPLETE = "onComplete";
|
private static final String ON_COMPLETE = "onComplete";
|
||||||
private static final String ON_STATUS_UPDATE = "onStatusUpdate";
|
private static final String ON_STATUS_UPDATE = "onStatusUpdate";
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(AbstractProcessDialog.class);
|
private static final CLogger log = CLogger.getCLogger(AbstractProcessDialog.class);
|
||||||
|
|
||||||
protected int m_WindowNo;
|
protected int m_WindowNo;
|
||||||
private Properties m_ctx;
|
private Properties m_ctx;
|
||||||
|
|
|
@ -75,7 +75,7 @@ public class FeedbackRequestWindow extends Window implements EventListener<Event
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8586980192148533197L;
|
private static final long serialVersionUID = 8586980192148533197L;
|
||||||
|
|
||||||
private static CLogger log = CLogger.getCLogger(FeedbackRequestWindow.class);
|
private static final CLogger log = CLogger.getCLogger(FeedbackRequestWindow.class);
|
||||||
|
|
||||||
protected WTableDirEditor requestTypeField, priorityField, salesRepField;
|
protected WTableDirEditor requestTypeField, priorityField, salesRepField;
|
||||||
protected Textbox txtSummary;
|
protected Textbox txtSummary;
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class ProcessDialog extends AbstractProcessDialog implements EventListene
|
||||||
private static final String ON_OK_ECHO = "onOkEcho";
|
private static final String ON_OK_ECHO = "onOkEcho";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ProcessDialog.class);
|
private static final CLogger log = CLogger.getCLogger(ProcessDialog.class);
|
||||||
//
|
//
|
||||||
|
|
||||||
private Table logMessageTable;
|
private Table logMessageTable;
|
||||||
|
|
|
@ -54,7 +54,7 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi
|
||||||
private static final String ON_OK_ECHO = "onOkEcho";
|
private static final String ON_OK_ECHO = "onOkEcho";
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(ProcessModalDialog.class);
|
private static final CLogger log = CLogger.getCLogger(ProcessModalDialog.class);
|
||||||
//
|
//
|
||||||
private String orientation;
|
private String orientation;
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ public class ProcessParameterPanel extends Panel implements
|
||||||
// infoWindowID of infoWindow below this dialog in case call process from infoWindow
|
// infoWindowID of infoWindow below this dialog in case call process from infoWindow
|
||||||
private int m_InfoWindowID = 0;
|
private int m_InfoWindowID = 0;
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger
|
private static final CLogger log = CLogger
|
||||||
.getCLogger(ProcessParameterPanel.class);
|
.getCLogger(ProcessParameterPanel.class);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue