diff --git a/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java b/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java index 9b6f43407c..a1b24b2362 100644 --- a/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java +++ b/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java @@ -20,8 +20,6 @@ import org.compiere.utils.DigestOfFile; */ @Stateless(mappedName=MD5.JNDI_NAME, name=MD5.EJB_NAME) public class MD5Bean implements MD5 { - - private static final long serialVersionUID = 1L; /** * */ diff --git a/base/src/org/adempiere/exceptions/AdempiereException.java b/base/src/org/adempiere/exceptions/AdempiereException.java index c8daf96fad..031c0112b4 100644 --- a/base/src/org/adempiere/exceptions/AdempiereException.java +++ b/base/src/org/adempiere/exceptions/AdempiereException.java @@ -24,7 +24,11 @@ import org.compiere.util.Msg; * @author Teo Sarca, SC ARHIPAC SERVICE SRL */ public class AdempiereException extends RuntimeException { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2340179640558569534L; + /** * Default Constructor (saved logger error will be used as message) diff --git a/base/src/org/adempiere/exceptions/DBException.java b/base/src/org/adempiere/exceptions/DBException.java index 220d87b285..5689a6dc89 100644 --- a/base/src/org/adempiere/exceptions/DBException.java +++ b/base/src/org/adempiere/exceptions/DBException.java @@ -32,8 +32,10 @@ import org.compiere.util.CLogMgt; */ public class DBException extends AdempiereException { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -1072176004008572154L; private String m_sql = null; /** diff --git a/base/src/org/adempiere/exceptions/DocTypeNotFoundException.java b/base/src/org/adempiere/exceptions/DocTypeNotFoundException.java index c366ca1e50..0ecb893d7b 100644 --- a/base/src/org/adempiere/exceptions/DocTypeNotFoundException.java +++ b/base/src/org/adempiere/exceptions/DocTypeNotFoundException.java @@ -24,8 +24,10 @@ import org.compiere.util.Util; */ public class DocTypeNotFoundException extends AdempiereException { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -4218893853798807816L; /** Doc Base Type */ private String m_docBaseType = null; diff --git a/base/src/org/adempiere/exceptions/FillMandatoryException.java b/base/src/org/adempiere/exceptions/FillMandatoryException.java index c1339cd872..78b761c8d8 100644 --- a/base/src/org/adempiere/exceptions/FillMandatoryException.java +++ b/base/src/org/adempiere/exceptions/FillMandatoryException.java @@ -19,8 +19,11 @@ package org.adempiere.exceptions; */ public class FillMandatoryException extends AdempiereException { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 9074980284529933724L; + public FillMandatoryException(String...fields) { super("@FillMandatory@ "+buildMessage(fields)); diff --git a/base/src/org/adempiere/exceptions/InvoiceFullyMatchedException.java b/base/src/org/adempiere/exceptions/InvoiceFullyMatchedException.java index 902abe9d58..b696b68f8d 100644 --- a/base/src/org/adempiere/exceptions/InvoiceFullyMatchedException.java +++ b/base/src/org/adempiere/exceptions/InvoiceFullyMatchedException.java @@ -19,7 +19,10 @@ package org.adempiere.exceptions; */ public class InvoiceFullyMatchedException extends AdempiereException { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -7474922528576404203L; public static final String AD_Message = "InvoiceFullyMatched"; diff --git a/base/src/org/adempiere/exceptions/NoVendorForProductException.java b/base/src/org/adempiere/exceptions/NoVendorForProductException.java index 93b507053b..2df5f6f87f 100644 --- a/base/src/org/adempiere/exceptions/NoVendorForProductException.java +++ b/base/src/org/adempiere/exceptions/NoVendorForProductException.java @@ -20,8 +20,11 @@ package org.adempiere.exceptions; */ public class NoVendorForProductException extends AdempiereException { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 3412903630540562323L; + /** * @param productName M_Product Name */ diff --git a/base/src/org/adempiere/exceptions/PeriodClosedException.java b/base/src/org/adempiere/exceptions/PeriodClosedException.java index 78f7dd969b..ba0bbc980a 100644 --- a/base/src/org/adempiere/exceptions/PeriodClosedException.java +++ b/base/src/org/adempiere/exceptions/PeriodClosedException.java @@ -32,7 +32,10 @@ import org.compiere.util.Env; */ public class PeriodClosedException extends AdempiereException { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2798371272365454799L; /** * diff --git a/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java b/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java index 95aadb8391..712579d3c5 100644 --- a/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java +++ b/base/src/org/adempiere/pdf/viewer/PDFViewerBean.java @@ -60,9 +60,12 @@ import org.jpedal.PdfDecoder; * */ public class PDFViewerBean extends JPanel { - private static final long serialVersionUID = 1L; - - private final PdfDecoder decoder = new PdfDecoder(); + /** + * + */ + private static final long serialVersionUID = -365936659584244L; + + private final PdfDecoder decoder = new PdfDecoder(); private final JScrollPane center = new JScrollPane(decoder); private final JTextField pageField = new JTextField(2); private final JLabel pageCountLabel = new JLabel("00"); @@ -73,81 +76,111 @@ public class PDFViewerBean extends JPanel { 0.25f, 0.33f, 0.50f, 0.75f, 1.00f, 1.50f, 2.00f, 4.00f, 8.00f}; private final Action printAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -4038401603459821668L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { print(); } }; private final Action saveAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2556454917786013951L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { save(); } }; private final Action goFirstAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3012006964079877706L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { goFirst(); } }; private final Action goPreviousAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7146121058674779580L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { goPrevious(); } }; private final Action goNextAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -535856649012053593L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { goNext(); } }; private final Action goLastAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -9129162509234933692L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { goLast(); } }; private final Action zoomInAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 8712227061870874820L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { zoomIn(); } }; private final Action zoomOutAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -796771923722993041L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { zoomOut(); } }; private final Action rotateCClockAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -5323310183497748731L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { rotateCClock(); } }; private final Action rotateClockAction = new AbstractAction() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7048804716310413300L; - public void actionPerformed(ActionEvent e) { + public void actionPerformed(ActionEvent e) { rotateClock(); } }; diff --git a/base/src/org/compiere/db/SecurityPrincipal.java b/base/src/org/compiere/db/SecurityPrincipal.java index 396caa44e5..6ac6a7dc19 100644 --- a/base/src/org/compiere/db/SecurityPrincipal.java +++ b/base/src/org/compiere/db/SecurityPrincipal.java @@ -20,8 +20,10 @@ import java.io.Serializable; * */ class SecurityPrincipal implements Serializable { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -4703480025159571932L; String principal; String credential; } diff --git a/base/src/org/compiere/model/MAccountLookup.java b/base/src/org/compiere/model/MAccountLookup.java index 38d6a02574..6d333738d3 100644 --- a/base/src/org/compiere/model/MAccountLookup.java +++ b/base/src/org/compiere/model/MAccountLookup.java @@ -36,7 +36,10 @@ import org.compiere.util.NamePair; */ public final class MAccountLookup extends Lookup implements Serializable { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5565166586045152280L; /** * Constructor diff --git a/base/src/org/compiere/model/MAcctSchemaGL.java b/base/src/org/compiere/model/MAcctSchemaGL.java index f6417816e5..ebb842d2ac 100644 --- a/base/src/org/compiere/model/MAcctSchemaGL.java +++ b/base/src/org/compiere/model/MAcctSchemaGL.java @@ -38,7 +38,7 @@ public class MAcctSchemaGL extends X_C_AcctSchema_GL /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5303102649110271896L; /** diff --git a/base/src/org/compiere/model/MBPartnerProduct.java b/base/src/org/compiere/model/MBPartnerProduct.java index 701014781d..f9fa7d795d 100644 --- a/base/src/org/compiere/model/MBPartnerProduct.java +++ b/base/src/org/compiere/model/MBPartnerProduct.java @@ -32,9 +32,8 @@ public class MBPartnerProduct extends X_C_BPartner_Product /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -3890764013045208949L; - public MBPartnerProduct(Properties ctx, int C_BpartnerProduct_ID, String m_trxName) { super(ctx, C_BpartnerProduct_ID, m_trxName); diff --git a/base/src/org/compiere/model/MBlackListCheque.java b/base/src/org/compiere/model/MBlackListCheque.java index 125042ea84..c5861c9da5 100644 --- a/base/src/org/compiere/model/MBlackListCheque.java +++ b/base/src/org/compiere/model/MBlackListCheque.java @@ -29,7 +29,7 @@ public class MBlackListCheque extends X_U_BlackListCheque /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 6958839594386806390L; public MBlackListCheque(Properties ctx, int U_BlackListCheque_ID, String trxName) { diff --git a/base/src/org/compiere/model/MChangeRequest.java b/base/src/org/compiere/model/MChangeRequest.java index 7a56e4aee3..0b621a2da5 100644 --- a/base/src/org/compiere/model/MChangeRequest.java +++ b/base/src/org/compiere/model/MChangeRequest.java @@ -29,7 +29,10 @@ import org.eevolution.model.MPPProductBOM; */ public class MChangeRequest extends X_M_ChangeRequest { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 8374119541472311165L; /** diff --git a/base/src/org/compiere/model/MCost.java b/base/src/org/compiere/model/MCost.java index e6ed4cb2e1..b0762b382c 100644 --- a/base/src/org/compiere/model/MCost.java +++ b/base/src/org/compiere/model/MCost.java @@ -48,8 +48,12 @@ import org.compiere.util.Trx; */ public class MCost extends X_M_Cost { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -127982599769472918L; + + /** * Retrieve/Calculate Current Cost Price * @param product product diff --git a/base/src/org/compiere/model/MCostDetail.java b/base/src/org/compiere/model/MCostDetail.java index ec085fa825..70086e1666 100644 --- a/base/src/org/compiere/model/MCostDetail.java +++ b/base/src/org/compiere/model/MCostDetail.java @@ -40,7 +40,11 @@ import org.compiere.util.Env; */ public class MCostDetail extends X_M_CostDetail { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5452006110417178583L; + /** * Create New Order Cost Detail for Purchase Orders. diff --git a/base/src/org/compiere/model/MCurrency.java b/base/src/org/compiere/model/MCurrency.java index 614d66a293..880e1b4da0 100644 --- a/base/src/org/compiere/model/MCurrency.java +++ b/base/src/org/compiere/model/MCurrency.java @@ -31,7 +31,7 @@ public class MCurrency extends X_C_Currency /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5549233389514285323L; /** * Currency Constructor diff --git a/base/src/org/compiere/model/MEXPFormat.java b/base/src/org/compiere/model/MEXPFormat.java index 8c5838333d..619d50303a 100644 --- a/base/src/org/compiere/model/MEXPFormat.java +++ b/base/src/org/compiere/model/MEXPFormat.java @@ -51,12 +51,11 @@ import org.compiere.util.DB; *
  • http://sourceforge.net/tracker/index.php?func=detail&aid=2195090&group_id=176962&atid=879335 */ public class MEXPFormat extends X_EXP_Format { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 1070027055056912752L; + /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MEXPFormat.class); diff --git a/base/src/org/compiere/model/MEXPFormatLine.java b/base/src/org/compiere/model/MEXPFormatLine.java index 0d6bd48e55..906163eff7 100644 --- a/base/src/org/compiere/model/MEXPFormatLine.java +++ b/base/src/org/compiere/model/MEXPFormatLine.java @@ -42,12 +42,10 @@ import org.compiere.util.DB; * @author Trifon N. Trifonov */ public class MEXPFormatLine extends X_EXP_FormatLine { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 1855089248134520749L; /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (X_EXP_FormatLine.class); diff --git a/base/src/org/compiere/model/MEXPProcessor.java b/base/src/org/compiere/model/MEXPProcessor.java index 0ee0d78b1d..f35cbdd694 100644 --- a/base/src/org/compiere/model/MEXPProcessor.java +++ b/base/src/org/compiere/model/MEXPProcessor.java @@ -44,12 +44,10 @@ import org.compiere.util.DB; * @author Trifon N. Trifonov */ public class MEXPProcessor extends X_EXP_Processor { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = -2925330684523283775L; /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MEXPProcessor.class); diff --git a/base/src/org/compiere/model/MEXPProcessorParameter.java b/base/src/org/compiere/model/MEXPProcessorParameter.java index 5f203ea456..922c4891f7 100644 --- a/base/src/org/compiere/model/MEXPProcessorParameter.java +++ b/base/src/org/compiere/model/MEXPProcessorParameter.java @@ -38,12 +38,10 @@ import org.compiere.util.CLogger; * @author Trifon N. Trifonov */ public class MEXPProcessorParameter extends X_EXP_ProcessorParameter { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 2633307385854436092L; /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MEXPProcessorParameter.class); diff --git a/base/src/org/compiere/model/MEXPProcessorType.java b/base/src/org/compiere/model/MEXPProcessorType.java index 0c69a75665..5f65b57b82 100644 --- a/base/src/org/compiere/model/MEXPProcessorType.java +++ b/base/src/org/compiere/model/MEXPProcessorType.java @@ -38,12 +38,10 @@ import org.compiere.util.CLogger; * @author Trifon N. Trifonov */ public class MEXPProcessorType extends X_EXP_Processor_Type { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = -4987531346397814095L; /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MEXPProcessorType.class); diff --git a/base/src/org/compiere/model/MFactAcct.java b/base/src/org/compiere/model/MFactAcct.java index 22a6319860..2c419f89e7 100644 --- a/base/src/org/compiere/model/MFactAcct.java +++ b/base/src/org/compiere/model/MFactAcct.java @@ -36,7 +36,10 @@ import org.compiere.util.DB; */ public class MFactAcct extends X_Fact_Acct { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5251847162314796574L; /** * Delete Accounting diff --git a/base/src/org/compiere/model/MForecastLine.java b/base/src/org/compiere/model/MForecastLine.java index 0aaeae55cd..8105bfa9c2 100644 --- a/base/src/org/compiere/model/MForecastLine.java +++ b/base/src/org/compiere/model/MForecastLine.java @@ -27,7 +27,10 @@ import java.util.Properties; */ public class MForecastLine extends X_M_ForecastLine { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -4757137580071600111L; /** * Standard Constructor diff --git a/base/src/org/compiere/model/MIMPProcessor.java b/base/src/org/compiere/model/MIMPProcessor.java index 4509db20aa..8e84d4842d 100644 --- a/base/src/org/compiere/model/MIMPProcessor.java +++ b/base/src/org/compiere/model/MIMPProcessor.java @@ -47,12 +47,10 @@ public class MIMPProcessor extends X_IMP_Processor implements AdempiereProcessor { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 8634765494025824138L; /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MIMPProcessor.class); diff --git a/base/src/org/compiere/model/MIMPProcessorLog.java b/base/src/org/compiere/model/MIMPProcessorLog.java index 531f441191..3a32233db4 100644 --- a/base/src/org/compiere/model/MIMPProcessorLog.java +++ b/base/src/org/compiere/model/MIMPProcessorLog.java @@ -39,11 +39,10 @@ public class MIMPProcessorLog extends X_IMP_ProcessorLog implements AdempiereProcessorLog { - /** - * serialVersionUID + * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2314394818152867856L; /** * diff --git a/base/src/org/compiere/model/MLanguage.java b/base/src/org/compiere/model/MLanguage.java index e0145e2d50..b16cc6de49 100644 --- a/base/src/org/compiere/model/MLanguage.java +++ b/base/src/org/compiere/model/MLanguage.java @@ -45,7 +45,10 @@ import org.compiere.util.Msg; */ public class MLanguage extends X_AD_Language { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 6415602943484245447L; /** * Get Language Model from Language diff --git a/base/src/org/compiere/model/MLocatorLookup.java b/base/src/org/compiere/model/MLocatorLookup.java index b9da4cb02c..b0540a1d1d 100644 --- a/base/src/org/compiere/model/MLocatorLookup.java +++ b/base/src/org/compiere/model/MLocatorLookup.java @@ -297,7 +297,10 @@ public final class MLocatorLookup extends Lookup implements Serializable */ class Loader extends Thread implements Serializable { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3472186635409000236L; /** * Loader diff --git a/base/src/org/compiere/model/MMatchInv.java b/base/src/org/compiere/model/MMatchInv.java index 14a7fa33b7..3972901840 100644 --- a/base/src/org/compiere/model/MMatchInv.java +++ b/base/src/org/compiere/model/MMatchInv.java @@ -49,7 +49,11 @@ import org.compiere.util.Env; */ public class MMatchInv extends X_M_MatchInv { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3668871839074170205L; + /** * Get InOut-Invoice Matches diff --git a/base/src/org/compiere/model/MMatchPO.java b/base/src/org/compiere/model/MMatchPO.java index 1fe3fbd1bd..b24728c7d2 100644 --- a/base/src/org/compiere/model/MMatchPO.java +++ b/base/src/org/compiere/model/MMatchPO.java @@ -53,7 +53,10 @@ import org.compiere.util.Env; */ public class MMatchPO extends X_M_MatchPO { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7189366329684552916L; /** diff --git a/base/src/org/compiere/model/MOrg.java b/base/src/org/compiere/model/MOrg.java index d87496b651..36e49a36ec 100644 --- a/base/src/org/compiere/model/MOrg.java +++ b/base/src/org/compiere/model/MOrg.java @@ -32,7 +32,10 @@ import org.compiere.util.Env; */ public class MOrg extends X_AD_Org { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -5604686137606338725L; /** diff --git a/base/src/org/compiere/model/MOrgInfo.java b/base/src/org/compiere/model/MOrgInfo.java index 11524f0441..a73b66a7d2 100644 --- a/base/src/org/compiere/model/MOrgInfo.java +++ b/base/src/org/compiere/model/MOrgInfo.java @@ -31,7 +31,10 @@ import org.compiere.util.CCache; */ public class MOrgInfo extends X_AD_OrgInfo { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2079223595471129816L; /** diff --git a/base/src/org/compiere/model/MProductCategoryAcct.java b/base/src/org/compiere/model/MProductCategoryAcct.java index 234d65055c..c84c698b45 100644 --- a/base/src/org/compiere/model/MProductCategoryAcct.java +++ b/base/src/org/compiere/model/MProductCategoryAcct.java @@ -28,8 +28,10 @@ import org.compiere.util.CCache; */ public class MProductCategoryAcct extends X_M_Product_Category_Acct { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 2075372131034904732L; /** Static cache */ private static CCache s_cache = new CCache(Table_Name, 40, 5); diff --git a/base/src/org/compiere/model/MProductPO.java b/base/src/org/compiere/model/MProductPO.java index 644bdd9b69..b5624a955d 100644 --- a/base/src/org/compiere/model/MProductPO.java +++ b/base/src/org/compiere/model/MProductPO.java @@ -28,7 +28,10 @@ import java.util.Properties; */ public class MProductPO extends X_M_Product_PO { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -747761340543484440L; /** diff --git a/base/src/org/compiere/model/MReplicationStrategy.java b/base/src/org/compiere/model/MReplicationStrategy.java index 0b96cff010..3be3907f1f 100644 --- a/base/src/org/compiere/model/MReplicationStrategy.java +++ b/base/src/org/compiere/model/MReplicationStrategy.java @@ -27,12 +27,10 @@ import org.compiere.util.CLogger; * @author victor.perez@e-evolution.com, e-Evolution */ public class MReplicationStrategy extends X_AD_ReplicationStrategy { - /** * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 1921892820183119329L; public static final int REPLICATION_TABLE =0; public static final int REPLICATION_DOCUMENT =1; diff --git a/base/src/org/compiere/model/MRequest.java b/base/src/org/compiere/model/MRequest.java index 3e8ecce403..0543ef33bc 100644 --- a/base/src/org/compiere/model/MRequest.java +++ b/base/src/org/compiere/model/MRequest.java @@ -40,7 +40,11 @@ import org.compiere.util.TimeUtil; */ public class MRequest extends X_R_Request { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3989278951102963994L; + /** * Get Request ID from mail text diff --git a/base/src/org/compiere/model/MResource.java b/base/src/org/compiere/model/MResource.java index fcec10e3b2..35ce25fa83 100644 --- a/base/src/org/compiere/model/MResource.java +++ b/base/src/org/compiere/model/MResource.java @@ -35,8 +35,10 @@ import org.compiere.util.CCache; */ public class MResource extends X_S_Resource { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 80710753458346709L; /** Cache */ private static CCache s_cache = new CCache(Table_Name, 20); diff --git a/base/src/org/compiere/model/MResourceType.java b/base/src/org/compiere/model/MResourceType.java index 2bc90d58cc..ef049aa5e6 100644 --- a/base/src/org/compiere/model/MResourceType.java +++ b/base/src/org/compiere/model/MResourceType.java @@ -42,7 +42,10 @@ import org.compiere.util.TimeUtil; */ public class MResourceType extends X_S_ResourceType { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 6303797933825680667L; /** Cache */ private static CCache s_cache = new CCache(Table_Name, 20); diff --git a/base/src/org/compiere/model/MResourceUnAvailable.java b/base/src/org/compiere/model/MResourceUnAvailable.java index 7820ca6ecc..aa112c2393 100644 --- a/base/src/org/compiere/model/MResourceUnAvailable.java +++ b/base/src/org/compiere/model/MResourceUnAvailable.java @@ -34,7 +34,10 @@ import org.compiere.util.TimeUtil; */ public class MResourceUnAvailable extends X_S_ResourceUnAvailable { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5532695704071630122L; /** diff --git a/base/src/org/compiere/model/MRoleMenu.java b/base/src/org/compiere/model/MRoleMenu.java index a147ca90e5..0ffa764d8c 100644 --- a/base/src/org/compiere/model/MRoleMenu.java +++ b/base/src/org/compiere/model/MRoleMenu.java @@ -30,7 +30,7 @@ public class MRoleMenu extends X_U_RoleMenu /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 9022716123964882452L; public MRoleMenu(Properties ctx, int U_RoleMenu_ID, String trxName) { diff --git a/base/src/org/compiere/model/MUOM.java b/base/src/org/compiere/model/MUOM.java index ea28ce1212..ac90778cd7 100644 --- a/base/src/org/compiere/model/MUOM.java +++ b/base/src/org/compiere/model/MUOM.java @@ -35,8 +35,10 @@ import org.compiere.util.Ini; */ public class MUOM extends X_C_UOM { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -7248044516358949324L; /** X12 Element 355 Code Second */ public static final String X12_SECOND = "03"; /** X12 Element 355 Code Minute */ diff --git a/base/src/org/compiere/model/MWarehouse.java b/base/src/org/compiere/model/MWarehouse.java index 565ec7590e..b6b15a7f4b 100644 --- a/base/src/org/compiere/model/MWarehouse.java +++ b/base/src/org/compiere/model/MWarehouse.java @@ -34,8 +34,10 @@ import org.compiere.util.CCache; */ public class MWarehouse extends X_M_Warehouse { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -848214135445693460L; /** * Get from Cache * @param ctx context diff --git a/base/src/org/compiere/model/MWebMenu.java b/base/src/org/compiere/model/MWebMenu.java index e760e7bc79..fa358b79b6 100644 --- a/base/src/org/compiere/model/MWebMenu.java +++ b/base/src/org/compiere/model/MWebMenu.java @@ -25,13 +25,12 @@ import java.util.Properties; public class MWebMenu extends X_U_WebMenu { - - /** - * - */ - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -7370745711964160621L; - public MWebMenu(Properties ctx, int U_WebMenu_ID, String trxName) + public MWebMenu(Properties ctx, int U_WebMenu_ID, String trxName) { super(ctx, U_WebMenu_ID, trxName); } diff --git a/base/src/org/compiere/model/MWebProperties.java b/base/src/org/compiere/model/MWebProperties.java index c301f75f20..fd1d14ab71 100644 --- a/base/src/org/compiere/model/MWebProperties.java +++ b/base/src/org/compiere/model/MWebProperties.java @@ -32,9 +32,8 @@ public class MWebProperties extends X_U_Web_Properties /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4051314529871227830L; - public MWebProperties(Properties ctx, int uWebProperties , String trxName) { super(ctx,uWebProperties,trxName); diff --git a/base/src/org/compiere/model/X_DD_Order_Header_v.java b/base/src/org/compiere/model/X_DD_Order_Header_v.java index 47b22b89bc..566a7d8ef4 100644 --- a/base/src/org/compiere/model/X_DD_Order_Header_v.java +++ b/base/src/org/compiere/model/X_DD_Order_Header_v.java @@ -25,12 +25,6 @@ import java.util.Properties; * @version Release 3.5.1a - $Id$ */ public class X_DD_Order_Header_v extends PO implements I_DD_Order_Header_v, I_Persistent { - - /** - * - */ - private static final long serialVersionUID = 1L; - /** Standard Constructor */ public X_DD_Order_Header_v (Properties ctx, int DD_Order_Header_v_ID, String trxName) { diff --git a/base/src/org/compiere/model/X_Fact_Acct_Balance.java b/base/src/org/compiere/model/X_Fact_Acct_Balance.java index 307080690a..caf2452d79 100644 --- a/base/src/org/compiere/model/X_Fact_Acct_Balance.java +++ b/base/src/org/compiere/model/X_Fact_Acct_Balance.java @@ -31,12 +31,6 @@ import org.compiere.util.KeyNamePair; * @version Release 3.5.1a - $Id$ */ public class X_Fact_Acct_Balance extends PO implements I_Fact_Acct_Balance, I_Persistent { - - /** - * - */ - private static final long serialVersionUID = 1L; - /** Standard Constructor */ public X_Fact_Acct_Balance (Properties ctx, int Fact_Acct_Balance_ID, String trxName) { diff --git a/base/src/org/compiere/model/X_M_EDI.java b/base/src/org/compiere/model/X_M_EDI.java index f4563c725a..ce1cf3baea 100644 --- a/base/src/org/compiere/model/X_M_EDI.java +++ b/base/src/org/compiere/model/X_M_EDI.java @@ -31,12 +31,6 @@ import org.compiere.util.KeyNamePair; * @version Release 3.5.2a - $Id$ */ public class X_M_EDI extends PO implements I_M_EDI, I_Persistent { - - /** - * - */ - private static final long serialVersionUID = 1L; - /** Standard Constructor */ public X_M_EDI (Properties ctx, int M_EDI_ID, String trxName) { diff --git a/base/src/org/compiere/model/X_M_EDI_Info.java b/base/src/org/compiere/model/X_M_EDI_Info.java index 2f5675ea69..6a5740c8f3 100644 --- a/base/src/org/compiere/model/X_M_EDI_Info.java +++ b/base/src/org/compiere/model/X_M_EDI_Info.java @@ -28,12 +28,6 @@ import org.compiere.util.KeyNamePair; * @version Release 3.5.2a - $Id$ */ public class X_M_EDI_Info extends PO implements I_M_EDI_Info, I_Persistent { - - /** - * - */ - private static final long serialVersionUID = 1L; - /** Standard Constructor */ public X_M_EDI_Info (Properties ctx, int M_EDI_Info_ID, String trxName) { diff --git a/base/src/org/compiere/print/MPrintTableFormat.java b/base/src/org/compiere/print/MPrintTableFormat.java index 2ed9ac2d4f..d577dc68a7 100644 --- a/base/src/org/compiere/print/MPrintTableFormat.java +++ b/base/src/org/compiere/print/MPrintTableFormat.java @@ -49,7 +49,10 @@ import org.compiere.util.Env; */ public class MPrintTableFormat extends X_AD_PrintTableFormat { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -357529310875242899L; /** * Standard Constructor diff --git a/base/src/org/compiere/util/DBException.java b/base/src/org/compiere/util/DBException.java index eccb3398a2..e574adcf57 100644 --- a/base/src/org/compiere/util/DBException.java +++ b/base/src/org/compiere/util/DBException.java @@ -27,7 +27,10 @@ package org.compiere.util; */ @Deprecated public class DBException extends org.adempiere.exceptions.DBException { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7636162347228017698L; public DBException(Exception e) { super(e); diff --git a/base/src/org/compiere/util/Ini.java b/base/src/org/compiere/util/Ini.java index 356c277c57..105628a594 100644 --- a/base/src/org/compiere/util/Ini.java +++ b/base/src/org/compiere/util/Ini.java @@ -60,7 +60,10 @@ import org.compiere.model.ModelValidationEngine; */ public final class Ini implements Serializable { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3666529972922769528L; /** Property file name */ public static final String ADEMPIERE_PROPERTY_FILE = "Adempiere.properties"; diff --git a/base/src/org/eevolution/model/MPPProductBOM.java b/base/src/org/eevolution/model/MPPProductBOM.java index 5b04ba89b5..5d894cfb4e 100644 --- a/base/src/org/eevolution/model/MPPProductBOM.java +++ b/base/src/org/eevolution/model/MPPProductBOM.java @@ -37,8 +37,10 @@ import org.compiere.util.Env; */ public class MPPProductBOM extends X_PP_Product_BOM { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -5770988975738210823L; /** Cache */ private static CCache s_cache = new CCache(Table_Name, 40, 5); /** BOM Lines */ diff --git a/base/src/org/eevolution/model/MPPProductBOMLine.java b/base/src/org/eevolution/model/MPPProductBOMLine.java index 529571a91b..9f2976cf0c 100644 --- a/base/src/org/eevolution/model/MPPProductBOMLine.java +++ b/base/src/org/eevolution/model/MPPProductBOMLine.java @@ -48,7 +48,10 @@ import org.compiere.util.Env; */ public class MPPProductBOMLine extends X_PP_Product_BOMLine { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -6729103151164195906L; /** * Default Constructor diff --git a/client/src/org/adempiere/apps/graph/BarGraph.java b/client/src/org/adempiere/apps/graph/BarGraph.java index be5097b95a..fdee63617d 100644 --- a/client/src/org/adempiere/apps/graph/BarGraph.java +++ b/client/src/org/adempiere/apps/graph/BarGraph.java @@ -65,7 +65,10 @@ import org.jfree.data.category.DefaultCategoryDataset; */ public class BarGraph extends CPanel implements ChartMouseListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -4150122585550132822L; /** * Constructor diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 8b74d93846..ad406f58da 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -128,7 +128,10 @@ import org.compiere.util.Util; public final class APanel extends CPanel implements DataStatusListener, ChangeListener, ActionListener, ASyncProcess { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2886624470773649284L; private boolean isNested = false; @@ -2589,7 +2592,10 @@ public final class APanel extends CPanel * */ class SwitchAction extends AbstractAction { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3837712049468116744L; /** the action listener - APanel */ private ActionListener al; diff --git a/client/src/org/compiere/apps/AWindow.java b/client/src/org/compiere/apps/AWindow.java index f78b06b165..4f0efdf08a 100644 --- a/client/src/org/compiere/apps/AWindow.java +++ b/client/src/org/compiere/apps/AWindow.java @@ -38,7 +38,10 @@ import org.compiere.util.Env; */ public class AWindow extends CFrame { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -1925388774073536474L; /** * Standard Constructor - requires initWindow diff --git a/client/src/org/compiere/apps/wf/WFPanel.java b/client/src/org/compiere/apps/wf/WFPanel.java index 268c9053b3..27da49dad5 100644 --- a/client/src/org/compiere/apps/wf/WFPanel.java +++ b/client/src/org/compiere/apps/wf/WFPanel.java @@ -72,7 +72,10 @@ import org.compiere.wf.MWorkflow; public class WFPanel extends CPanel implements PropertyChangeListener, ActionListener, FormPanel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 4478193785606693055L; /** diff --git a/client/src/org/compiere/grid/VCreateFromShipment.java b/client/src/org/compiere/grid/VCreateFromShipment.java index 583883534e..a834c0be3a 100644 --- a/client/src/org/compiere/grid/VCreateFromShipment.java +++ b/client/src/org/compiere/grid/VCreateFromShipment.java @@ -84,7 +84,10 @@ public class VCreateFromShipment extends VCreateFrom implements VetoableChangeLi public class InnerLocatorTableCellEditor extends AbstractCellEditor implements TableCellEditor, CellEditorListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 8368583005837688626L; private KeyNamePair m_locatorKey; private VLocator m_editor; private JTable m_table; diff --git a/client/src/org/compiere/grid/VSortTab.java b/client/src/org/compiere/grid/VSortTab.java index 22cfb98d26..2ac613f096 100644 --- a/client/src/org/compiere/grid/VSortTab.java +++ b/client/src/org/compiere/grid/VSortTab.java @@ -73,7 +73,10 @@ import org.compiere.util.NamePair; */ public class VSortTab extends CPanel implements APanelTab { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2133358506913610514L; /** * Tab Order Constructor @@ -124,7 +127,10 @@ public class VSortTab extends CPanel implements APanelTab // DefaultListModel noModel = new DefaultListModel() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2171680655634744697L; @Override public void addElement(Object obj) { Object[] elements = toArray(); @@ -144,7 +150,11 @@ public class VSortTab extends CPanel implements APanelTab }; DefaultListModel yesModel = new DefaultListModel(); DefaultListCellRenderer listRenderer = new DefaultListCellRenderer() { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -101524191283634472L; + @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { Component c = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); @@ -677,8 +687,10 @@ public class VSortTab extends CPanel implements APanelTab * @author Teo Sarca */ private class ListItem extends NamePair { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 5399675004361331697L; private int m_key; private int m_AD_Client_ID; private int m_AD_Org_ID; diff --git a/client/src/org/compiere/grid/ed/AutoCompletion.java b/client/src/org/compiere/grid/ed/AutoCompletion.java index 5fd9897b88..1511b13961 100644 --- a/client/src/org/compiere/grid/ed/AutoCompletion.java +++ b/client/src/org/compiere/grid/ed/AutoCompletion.java @@ -37,8 +37,10 @@ import org.compiere.swing.CComboBox; *
  • FR [ 2552854 ] Combobox AutoCompletion should ignore diacritics */ public class AutoCompletion extends PlainDocument { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 1449135613844313889L; CComboBox comboBox; ComboBoxModel model; JTextComponent editor; diff --git a/client/src/org/compiere/minigrid/MiniTable.java b/client/src/org/compiere/minigrid/MiniTable.java index 4141baf9f7..834b98a4bf 100644 --- a/client/src/org/compiere/minigrid/MiniTable.java +++ b/client/src/org/compiere/minigrid/MiniTable.java @@ -70,7 +70,10 @@ import org.compiere.util.Util; */ public class MiniTable extends CTable { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2209340448348079989L; /** * Default Constructor diff --git a/client/src/org/compiere/pos/SubCheckout.java b/client/src/org/compiere/pos/SubCheckout.java index f41fe7dc13..a1fdfb95d0 100644 --- a/client/src/org/compiere/pos/SubCheckout.java +++ b/client/src/org/compiere/pos/SubCheckout.java @@ -51,7 +51,7 @@ public class SubCheckout extends PosSubPanel implements ActionListener /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 6359287546081954105L; /** * Constructor diff --git a/extend/src/test/functional/MSysConfigTest.java b/extend/src/test/functional/MSysConfigTest.java index 06c9eeeb40..a5b7ae9702 100644 --- a/extend/src/test/functional/MSysConfigTest.java +++ b/extend/src/test/functional/MSysConfigTest.java @@ -64,8 +64,11 @@ public class MSysConfigTest extends AdempiereTestCase { private static class TestableSysConfig extends MSysConfig { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -536206101431286540L; + public TestableSysConfig(Properties ctx, int AD_Client_ID, int AD_Org_ID, String Name, String Value, diff --git a/extend/src/test/functional/POTest.java b/extend/src/test/functional/POTest.java index 4680e92df7..aa24e4ce02 100644 --- a/extend/src/test/functional/POTest.java +++ b/extend/src/test/functional/POTest.java @@ -122,7 +122,10 @@ public class POTest extends AdempiereTestCase public void testAfterSaveError() { class MyTestPO extends MTest { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -6861171283806782985L; protected boolean failOnSave = false; public MyTestPO(Properties ctx, boolean failOnSave, String trxName) { super(ctx, "Test_"+System.currentTimeMillis(), 10); diff --git a/extend/src/test/functional/inventory/InventoryTest.java b/extend/src/test/functional/inventory/InventoryTest.java index d9eb9727b3..79cce7cd71 100644 --- a/extend/src/test/functional/inventory/InventoryTest.java +++ b/extend/src/test/functional/inventory/InventoryTest.java @@ -250,8 +250,10 @@ public class InventoryTest extends AdempiereTestCase class InventoryTestException extends RuntimeException { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 8354291934731598998L; public MMScenario scenario = null; public MMDocument document = null; diff --git a/webCM/src/main/servlet/org/compiere/cm/HttpServletCM.java b/webCM/src/main/servlet/org/compiere/cm/HttpServletCM.java index 4633bac9fc..378f1b0e9e 100644 --- a/webCM/src/main/servlet/org/compiere/cm/HttpServletCM.java +++ b/webCM/src/main/servlet/org/compiere/cm/HttpServletCM.java @@ -45,12 +45,11 @@ import org.compiere.util.WebEnv; */ public class HttpServletCM extends HttpServlet { - /** * serialVersionUID for serializable HttpServlet */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = -4426808307458449693L; + /** * status if config is loaded... true if loaded false is default after * startup diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java b/zkwebui/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java index 7eae697bdd..8e969bf9d0 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java @@ -57,9 +57,12 @@ import org.zkoss.zul.Window; */ public class AdempiereWebUI extends Window implements EventListener, IWebClient { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5759422592670132576L; - public static final String APP_NAME = "Adempiere ZK webUI"; + public static final String APP_NAME = "Adempiere ZK webUI"; public static final String UID = "1.0"; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java b/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java index 6e8ab8fab5..dbb064f3c5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java @@ -25,8 +25,10 @@ import net.sf.cglib.proxy.InvocationHandler; * */ public class ServerContextCallback implements InvocationHandler, Serializable { - - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 6708635918931322152L; public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/WLogin.java b/zkwebui/WEB-INF/src/org/adempiere/webui/WLogin.java index 78256d6b0d..07b476197e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/WLogin.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/WLogin.java @@ -33,8 +33,6 @@ import org.zkoss.zul.Vbox; */ public class WLogin extends AbstractUIPart { - private static final long serialVersionUID = 1L; - private IWebClient app; private Borderlayout layout; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java b/zkwebui/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java index 943655970b..678c9862fb 100755 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java @@ -78,9 +78,12 @@ import org.zkoss.zul.Separator; public class WAcctViewer extends Window implements EventListener { - private static final int PAGE_SIZE = 1000; + /** + * + */ + private static final long serialVersionUID = -223185724918504685L; - private static final long serialVersionUID = 1L; + private static final int PAGE_SIZE = 1000; /** State Info */ private WAcctViewerData m_data = null; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java index fa02730dfb..f2940b0d54 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java @@ -75,7 +75,11 @@ import com.lowagie.text.pdf.PdfWriter; */ public class ProcessDialog extends Window implements EventListener//, ASyncProcess { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 4940020114091318176L; + /** * Dialog to start a process/report diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java index 80a7cc0e92..7797fbc06d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java @@ -76,8 +76,11 @@ import org.zkoss.zul.Iframe; public class WArchiveViewer extends ADForm implements EventListener, ValueChangeListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 1861963456140146011L; + /** The Archives */ private MArchive[] m_archives = new MArchive[0]; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java index 8267e351df..209fe7e3b0 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java @@ -66,7 +66,10 @@ import org.zkoss.zul.Vbox; */ public class WAttributeGrid extends ADForm implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 687630618195901592L; /** * Init diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WBOMDrop.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WBOMDrop.java index d34d5f12bf..ea6adb1478 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WBOMDrop.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WBOMDrop.java @@ -71,8 +71,11 @@ import org.zkoss.zul.Space; public class WBOMDrop extends ADForm implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -5065364554398280623L; + /** Product to create BOMs from */ private MProduct m_product; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java index 7cf0536cb5..a6f796dd00 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java @@ -69,9 +69,11 @@ import org.zkoss.zk.ui.event.Events; */ public class WCharge extends ADForm implements EventListener { - /** Unique identifier. */ - private static final long serialVersionUID = 1L; - /** AD_Message for "Create". */ + /** + * + */ + private static final long serialVersionUID = 4210542409436277344L; + /** AD_Message for "Create". */ private static final String AD_MESSAGE_CREATE = "Create"; /** Logger. */ private static CLogger log = CLogger.getCLogger(WCharge.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromInvoice.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromInvoice.java index a2227c84a8..023f903d5a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromInvoice.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromInvoice.java @@ -51,8 +51,11 @@ import org.zkoss.zk.ui.event.Event; */ public class WCreateFromInvoice extends WCreateFrom implements ValueChangeListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 7612348261071199415L; + /** * Protected Constructor * @param mTab MTab diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromRMA.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromRMA.java index 422875fc73..5c1025c9cc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromRMA.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromRMA.java @@ -34,8 +34,11 @@ import org.compiere.util.Msg; */ public class WCreateFromRMA extends WCreateFrom { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 485406606040533083L; + /** * * @param mTab diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromShipment.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromShipment.java index ce13c66f78..281fc26a43 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromShipment.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromShipment.java @@ -54,8 +54,11 @@ import org.zkoss.zul.Popup; */ public class WCreateFromShipment extends WCreateFrom implements ValueChangeListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 1097942250809500954L; + /** * Protected Constructor * @param mTab MTab diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromStatement.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromStatement.java index 893ad82dd0..43925f838a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromStatement.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WCreateFromStatement.java @@ -55,8 +55,11 @@ import org.zkoss.zk.ui.event.Events; */ public class WCreateFromStatement extends WCreateFrom implements ValueChangeListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -7169292850233996482L; + /** * Protected Constructor * @param mTab MTab diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java index 3e1c6cae72..f04132282a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WFileImport.java @@ -72,11 +72,13 @@ import org.zkoss.zul.Separator; public class WFileImport extends ADForm implements EventListener { + /** + * + */ + private static final long serialVersionUID = -5779187375101512112L; private static final int MAX_LOADED_LINES = 100; private static final int MAX_SHOWN_LINES = 10; - private static final long serialVersionUID = 1L; - /** Logger */ private static CLogger log = CLogger.getCLogger(WFileImport.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java index aa37ef300b..e87cfe7b77 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java @@ -98,8 +98,11 @@ import org.zkoss.zul.Space; */ public class WInOutGen extends ADForm implements EventListener, ValueChangeListener, WTableModelListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 2522466013777853310L; + @Override protected void initForm() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java index 6fcd7b0274..3f759d40de 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java @@ -99,8 +99,11 @@ import org.zkoss.zul.Space; public class WInvoiceGen extends ADForm implements EventListener, ValueChangeListener, WTableModelListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 8563031560168180223L; + /** * Initialize Panel */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WSQLProcess.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WSQLProcess.java index 888581cb79..6de7c97a4c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WSQLProcess.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WSQLProcess.java @@ -47,11 +47,12 @@ import org.zkoss.zk.ui.event.Events; */ public class WSQLProcess extends ADForm implements EventListener { + /** + * + */ + private static final long serialVersionUID = -2038792517003449189L; - /** Serial Version Unique Identifier. */ - private static final long serialVersionUID = 1L; - - /** Log. */ + /** Log. */ private static CLogger log = CLogger.getCLogger(VSQLProcess.class); /** Grid used to layout components. */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WTrxMaterial.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WTrxMaterial.java index 61f0adbff1..52e1cf80e0 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WTrxMaterial.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/form/WTrxMaterial.java @@ -71,9 +71,10 @@ import org.zkoss.zul.Separator; public class WTrxMaterial extends ADForm implements EventListener, ValueChangeListener { - - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -2141669182129214237L; /** GridController */ private ADTabpanel m_gridController = null; /** MWindow */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WBarGraph.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WBarGraph.java index bff7aade04..cba0a97054 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WBarGraph.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WBarGraph.java @@ -53,7 +53,10 @@ import org.zkoss.zul.Imagemap; */ public class WBarGraph extends Panel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -975989183542113080L; /** * Constructor diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPAPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPAPanel.java index 30b67a770b..cff84bb75d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPAPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPAPanel.java @@ -13,7 +13,10 @@ import org.zkoss.zk.ui.event.Events; public class WPAPanel extends Panel implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -6491684272848160726L; /** * Get Panel if User has Performance Goals diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceDetail.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceDetail.java index f0828615ed..0b58c51bbc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceDetail.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceDetail.java @@ -13,7 +13,10 @@ import org.compiere.model.MGoal; */ public class WPerformanceDetail extends Window { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3460594735973451874L; /** * Constructor. diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java index b838507436..dcbb0d76f7 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java @@ -38,8 +38,11 @@ import org.zkoss.zul.Menupopup; */ public class WPerformanceIndicator extends Panel implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 3580494126343850939L; + /** * Constructor * @param goal goal model diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFEditor.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFEditor.java index 957739be82..83e3fd9c7c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFEditor.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFEditor.java @@ -49,9 +49,10 @@ import org.zkoss.zul.Imagemap; * */ public class WFEditor extends ADForm { - - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 6874950519612113345L; private Listbox workflowList; private Imagemap imageMap; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java index dc6ce2afed..da4d8c5c30 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WFPanel.java @@ -49,8 +49,12 @@ import org.zkoss.zul.Imagemap; */ public class WFPanel extends Borderlayout implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 8777798080154603970L; + + /** * Create Workflow Panel */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java index 7ee137635c..8ce37ea63b 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/wf/WWFActivity.java @@ -45,8 +45,10 @@ import org.zkoss.zul.Hbox; public class WWFActivity extends ADForm implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -653381810053334001L; /** Window No */ private int m_WindowNo = 0; /** FormFrame */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java index 7a617f38d4..c0bb78cf44 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java @@ -37,8 +37,6 @@ import org.compiere.util.Evaluator; */ public abstract class AbstractADTab extends AbstractUIPart implements IADTab { - private static final long serialVersionUID = 1L; - /** Logger */ private static CLogger log = CLogger.getCLogger (AbstractADTab.class); /** List of dependent Variables */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AutoComplete.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AutoComplete.java index d83a153f70..f49cf39289 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/AutoComplete.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/AutoComplete.java @@ -33,8 +33,11 @@ import org.zkoss.zul.Comboitem; public class AutoComplete extends Combobox { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 2642639623099513816L; + /** comboItems All menu labels */ private String[] comboItems; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Bandbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Bandbox.java index e1fede0889..f128eaf527 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Bandbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Bandbox.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class Bandbox extends org.zkoss.zul.Bandbox { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5834568392276375501L; - public void setEnabled(boolean enabled) + public void setEnabled(boolean enabled) { this.setDisabled(!enabled); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Button.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Button.java index d870febfc0..a23232a10d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Button.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Button.java @@ -28,9 +28,11 @@ import org.zkoss.zk.ui.event.Events; */ public class Button extends org.zkoss.zul.Button { - private static final long serialVersionUID = 1L; - - private String name; + /** + * + */ + private static final long serialVersionUID = -6562573800018819691L; + private String name; public Button() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/CWindowToolbar.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/CWindowToolbar.java index 3cc3b71462..0e03418d30 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/CWindowToolbar.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/CWindowToolbar.java @@ -50,9 +50,12 @@ import org.zkoss.zul.Label; */ public class CWindowToolbar extends FToolbar implements EventListener { - private static final long serialVersionUID = 1L; - - private static final String BUTTON_WIDTH = "32px"; + /** + * + */ + private static final long serialVersionUID = -8259762910508209764L; + + private static final String BUTTON_WIDTH = "32px"; private static CLogger log = CLogger.getCLogger(CWindowToolbar.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Checkbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Checkbox.java index 48b85cf105..372158fc5e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Checkbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Checkbox.java @@ -28,9 +28,12 @@ import org.zkoss.zk.ui.event.Events; */ public class Checkbox extends org.zkoss.zul.Checkbox { - private static final long serialVersionUID = 1L; - - public void setEnabled(boolean enabled) + /** + * + */ + private static final long serialVersionUID = 3306775098016676628L; + + public void setEnabled(boolean enabled) { this.setDisabled(!enabled); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Column.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Column.java index f73fb530cf..c1191e5825 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Column.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Column.java @@ -20,9 +20,12 @@ package org.adempiere.webui.component; public class Column extends org.zkoss.zul.Column { - private static final long serialVersionUID = 1L; - - public Column() + /** + * + */ + private static final long serialVersionUID = 8036743691725958481L; + + public Column() { this(null); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Columns.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Columns.java index d0837914ad..e508ec0dee 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Columns.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Columns.java @@ -20,5 +20,8 @@ package org.adempiere.webui.component; public class Columns extends org.zkoss.zul.Columns { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 702502881459697527L; } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combinationbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combinationbox.java index 35c562ecc9..eb86597108 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combinationbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combinationbox.java @@ -20,8 +20,10 @@ package org.adempiere.webui.component; */ public class Combinationbox extends EditorBox { - - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3743140893368022592L; public Combinationbox() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ComboItem.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ComboItem.java index df4b1bba02..65d6a73c59 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ComboItem.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ComboItem.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class ComboItem extends org.zkoss.zul.Comboitem { - private static final long serialVersionUID = 1L; - - public ComboItem(String label) + /** + * + */ + private static final long serialVersionUID = 8483161780731035079L; + + public ComboItem(String label) { super(label); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combobox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combobox.java index 04f2557d9f..7c206101b6 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combobox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Combobox.java @@ -29,9 +29,12 @@ import org.zkoss.zul.Comboitem; */ public class Combobox extends org.zkoss.zul.Combobox { - private static final long serialVersionUID = 1L; - - public void setEnabled(boolean enabled) + /** + * + */ + private static final long serialVersionUID = -6278632602577424842L; + + public void setEnabled(boolean enabled) { this.setDisabled(!enabled); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/CompositeADTab.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/CompositeADTab.java index d69a8a5da2..bd8cd15759 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/CompositeADTab.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/CompositeADTab.java @@ -38,8 +38,6 @@ import org.zkoss.zul.Div; */ public class CompositeADTab extends AbstractADTab { - private static final long serialVersionUID = 1L; - /** Logger */ private static CLogger log = CLogger.getCLogger (CompositeADTab.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ConfirmPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ConfirmPanel.java index 498d700379..b8ed509cb2 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ConfirmPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ConfirmPanel.java @@ -37,10 +37,11 @@ import org.zkoss.zul.Messagebox; **/ public final class ConfirmPanel extends Hbox { - - private static final long serialVersionUID = 1L; - - /** Action String OK. */ + /** + * + */ + private static final long serialVersionUID = -6050634074454659578L; + /** Action String OK. */ public static final String A_OK = "Ok"; /** Action String Cancel. */ public static final String A_CANCEL = "Cancel"; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Datebox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Datebox.java index 9ada25a158..16e2da427a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Datebox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Datebox.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class Datebox extends org.zkoss.zul.Datebox { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -5890574778856946570L; - public void setEnabled(boolean enabled) + public void setEnabled(boolean enabled) { this.setReadonly(!enabled); this.setButtonVisible(enabled); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/EditorBox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/EditorBox.java index e72eaf97f7..accdcc0474 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/EditorBox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/EditorBox.java @@ -28,7 +28,10 @@ import org.zkoss.zul.Div; * @author Low Heng Sin */ public class EditorBox extends Div { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3152111756471436612L; protected PropertyChangeSupport m_propertyChangeListeners = new PropertyChangeSupport( this); protected Textbox txt; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FToolbar.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FToolbar.java index 089094ef2f..060db7df65 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FToolbar.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FToolbar.java @@ -27,9 +27,12 @@ import org.zkoss.zul.Toolbar; */ public class FToolbar extends Toolbar { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7108523012451551639L; - public String getName() + public String getName() { return getId(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FWindow.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FWindow.java index 33fecb6e32..d0c6dee25a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FWindow.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FWindow.java @@ -26,9 +26,12 @@ package org.adempiere.webui.component; */ public class FWindow extends Window { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7047997664627639977L; - public FWindow() + public FWindow() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FilenameBox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FilenameBox.java index fdb0fee0f1..495252692b 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/FilenameBox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/FilenameBox.java @@ -19,8 +19,10 @@ package org.adempiere.webui.component; */ public class FilenameBox extends EditorBox { - - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3438731624652907300L; public FilenameBox() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Grid.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Grid.java index 363291908e..2dbefd7d02 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Grid.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Grid.java @@ -27,8 +27,11 @@ import org.zkoss.zk.ui.Component; */ public class Grid extends org.zkoss.zul.Grid { - private static final long serialVersionUID = 1L; - private boolean noStrip = false; + /** + * + */ + private static final long serialVersionUID = -8286221761079570001L; + private boolean noStrip = false; public void makeNoStrip() { setStyle("border: none"); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridPanel.java index c1a2986a38..d6f4a2f4ca 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridPanel.java @@ -48,12 +48,15 @@ import org.zkoss.zul.event.ZulEvents; */ public class GridPanel extends Borderlayout implements EventListener { + /** + * + */ + private static final long serialVersionUID = 860960136170704359L; + private static final int MIN_COLUMN_WIDTH = 100; private static final int MAX_COLUMN_WIDTH = 300; - private static final long serialVersionUID = 1L; - private Grid listbox = null; private int pageSize = 100; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java index 4f78dbfc68..c1648c372f 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java @@ -33,9 +33,11 @@ import org.zkoss.zul.event.ListDataEvent; * */ public class GridTableListModel extends AbstractListModel implements TableModelListener, ListModelExt { - - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 698185856751242764L; private GridTable tableModel; @SuppressWarnings("unused") private GridField[] gridField; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Label.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Label.java index fe98c2e261..1719373287 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Label.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Label.java @@ -28,9 +28,12 @@ import org.zkoss.zk.ui.Component; */ public class Label extends org.zkoss.zul.Label { - private static final long serialVersionUID = 1L; - - private Component decorator; + /** + * + */ + private static final long serialVersionUID = 1912498227823474678L; + + private Component decorator; private boolean mandatory; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListCell.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListCell.java index 52426c470c..499a479620 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListCell.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListCell.java @@ -19,9 +19,11 @@ package org.adempiere.webui.component; public class ListCell extends org.zkoss.zul.Listcell { - private static final long serialVersionUID = 1L; - - public ListCell(String str) + /** + * + */ + private static final long serialVersionUID = 971168080286017036L; + public ListCell(String str) { super(str); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHead.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHead.java index cca6e1043f..69c9979752 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHead.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHead.java @@ -19,5 +19,8 @@ package org.adempiere.webui.component; public class ListHead extends org.zkoss.zul.Listhead { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -7675491092309862710L; } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHeader.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHeader.java index 53505f8267..442eb62264 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHeader.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListHeader.java @@ -19,9 +19,11 @@ package org.adempiere.webui.component; public class ListHeader extends org.zkoss.zul.Listheader { - private static final long serialVersionUID = 1L; - - public ListHeader(String str) + /** + * + */ + private static final long serialVersionUID = -2709047642743510762L; + public ListHeader(String str) { super(str); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListItem.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListItem.java index a4be88590c..b2f33fd5a3 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListItem.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListItem.java @@ -30,8 +30,11 @@ import org.compiere.util.ValueNamePair; */ public class ListItem extends org.zkoss.zul.Listitem { - private static final long serialVersionUID = 1L; - private PropertyChangeSupport m_propertyChangeListeners = new PropertyChangeSupport(this); + /** + * + */ + private static final long serialVersionUID = -3445426943414051896L; + private PropertyChangeSupport m_propertyChangeListeners = new PropertyChangeSupport(this); public ListItem(String label, Object value) { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListModelTable.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListModelTable.java index e1db0fc18c..b4a0428e6f 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListModelTable.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListModelTable.java @@ -42,12 +42,10 @@ import org.zkoss.zul.event.ListDataEvent; */ public class ListModelTable extends ListModelList implements ListModelExt { - /** - * The Uniqe Identifier of the class + * */ - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = 1891313647781142789L; /** Array of listeners to changes in the table model. */ protected ArrayList m_listeners = new ArrayList(); /** The number of columns in the table. */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListPanel.java index a07b4daf82..ed2aa0156e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ListPanel.java @@ -42,12 +42,15 @@ import org.zkoss.zul.event.ZulEvents; */ public class ListPanel extends Borderlayout implements EventListener { + /** + * + */ + private static final long serialVersionUID = 4145737989132101461L; + private static final int MIN_COLUMN_WIDTH = 100; private static final int MAX_COLUMN_WIDTH = 300; - private static final long serialVersionUID = 1L; - private Listbox listbox = null; private int pageSize = 100; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Listbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Listbox.java index 55329a3732..e8d0fb4a6b 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Listbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Listbox.java @@ -37,9 +37,11 @@ import org.zkoss.zul.Listitem; */ public class Listbox extends org.zkoss.zul.Listbox implements EventListener { - private static final long serialVersionUID = 1L; - - private List doubleClickListeners = new ArrayList(); + /** + * + */ + private static final long serialVersionUID = -411510408730815382L; + private List doubleClickListeners = new ArrayList(); private List onDropListeners = new ArrayList(); private boolean draggable; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Locationbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Locationbox.java index 202e101b2e..2b2e9ecdf7 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Locationbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Locationbox.java @@ -19,7 +19,10 @@ package org.adempiere.webui.component; */ public class Locationbox extends EditorBox { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -9199586798474147872L; public Locationbox() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Messagebox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Messagebox.java index 2db32ae996..054fedc5f5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Messagebox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Messagebox.java @@ -41,8 +41,10 @@ import org.zkoss.zul.Separator; public class Messagebox extends Window implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -4957498533838144942L; private String msg = new String(""); private String imgSrc = new String(""); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/NumberBox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/NumberBox.java index 844d8986c5..7892a68328 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/NumberBox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/NumberBox.java @@ -46,9 +46,12 @@ import org.zkoss.zul.Vbox; */ public class NumberBox extends Div { - private static final long serialVersionUID = 1L; - - private Textbox txtCalc = new Textbox(); + /** + * + */ + private static final long serialVersionUID = 7089099079981906933L; + + private Textbox txtCalc = new Textbox(); boolean integral = false; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/PAttributebox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/PAttributebox.java index 6bf525e0bb..5e1f5b587a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/PAttributebox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/PAttributebox.java @@ -22,9 +22,12 @@ package org.adempiere.webui.component; */ public class PAttributebox extends EditorBox { - private static final long serialVersionUID = 1L; - - public PAttributebox() + /** + * + */ + private static final long serialVersionUID = 6822449202155516221L; + + public PAttributebox() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Panel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Panel.java index 85e683e37e..31f5d03f86 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Panel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Panel.java @@ -27,9 +27,12 @@ import org.zkoss.zul.Div; */ public class Panel extends Div { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -5549821938132356378L; - public static final String HORIZONTAL = "horizontal"; + public static final String HORIZONTAL = "horizontal"; public static final String VERTICAL = "vertical"; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Row.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Row.java index 5e3024c128..1139727e18 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Row.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Row.java @@ -25,6 +25,8 @@ package org.adempiere.webui.component; */ public class Row extends org.zkoss.zul.Row { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -3096460956090507074L; } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Rows.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Rows.java index edf86d77a7..5bcabad895 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Rows.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Rows.java @@ -29,7 +29,10 @@ import org.zkoss.zk.ui.Component; */ public class Rows extends org.zkoss.zul.Rows { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5100123951371296683L; private boolean noStrip = false; public Row newRow() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Searchbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Searchbox.java index b03ccb0837..80001f86f5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Searchbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Searchbox.java @@ -19,7 +19,10 @@ package org.adempiere.webui.component; */ public class Searchbox extends EditorBox { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -5164796522319002269L; public Searchbox() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java index 30176aa19a..57841a6afb 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/SimpleTreeModel.java @@ -42,7 +42,10 @@ import org.zkoss.zul.event.TreeDataEvent; */ public class SimpleTreeModel extends org.zkoss.zul.SimpleTreeModel implements TreeitemRenderer, EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -4649471521757131755L; private static final CLogger logger = CLogger.getCLogger(SimpleTreeModel.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tab.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tab.java index 8a767d0930..67db6b6891 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tab.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tab.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class Tab extends org.zkoss.zul.Tab { - private static final long serialVersionUID = 1L; - - public Tab(String str) + /** + * + */ + private static final long serialVersionUID = -550172446768384271L; + + public Tab(String str) { this.setLabel(str); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabbox.java index befb0bd998..a597848a73 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabbox.java @@ -27,9 +27,12 @@ import org.zkoss.zul.Tabpanels; */ public class Tabbox extends org.zkoss.zul.Tabbox { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 8453423102898624801L; - public Tabpanel getTabpanel(int index) + public Tabpanel getTabpanel(int index) { try { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanel.java index c136cd1919..09d7324df4 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanel.java @@ -30,9 +30,12 @@ import org.zkoss.zul.Tab; */ public class Tabpanel extends org.zkoss.zul.Tabpanel { - private static final long serialVersionUID = 1L; - - private ITabOnCloseHandler onCloseHandler = null; + /** + * + */ + private static final long serialVersionUID = -3392752891445762516L; + + private ITabOnCloseHandler onCloseHandler = null; private boolean enabled; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanels.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanels.java index c908d49e76..74ecf97bc7 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanels.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabpanels.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class Tabpanels extends org.zkoss.zul.Tabpanels { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2520923256815587165L; - public Tabpanels() + public Tabpanels() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabs.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabs.java index 864a641739..e2b428d8f0 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabs.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Tabs.java @@ -25,9 +25,12 @@ package org.adempiere.webui.component; */ public class Tabs extends org.zkoss.zul.Tabs { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2416323107841662771L; - public Tabs() + public Tabs() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Textbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Textbox.java index 1023eefbff..1158adf6c9 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Textbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Textbox.java @@ -31,9 +31,12 @@ import org.zkoss.zk.ui.event.Events; */ public class Textbox extends org.zkoss.zul.Textbox implements EventListener { - private static final long serialVersionUID = 1L; - - private Obscure m_obscure = null; + /** + * + */ + private static final long serialVersionUID = 2201466028538929955L; + + private Obscure m_obscure = null; private boolean m_infocus; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ToolBar.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ToolBar.java index 7821acdc9b..3ba7f1a49e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/ToolBar.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/ToolBar.java @@ -23,7 +23,8 @@ package org.adempiere.webui.component; */ public class ToolBar extends org.zkoss.zul.Toolbar { - - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 6908196335129904216L; } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Urlbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Urlbox.java index b270797005..c602f7cbcc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Urlbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Urlbox.java @@ -18,10 +18,12 @@ package org.adempiere.webui.component; */ public class Urlbox extends EditorBox { + /** + * + */ + private static final long serialVersionUID = -3846071364733430994L; - private static final long serialVersionUID = 1L; - - public Urlbox() + public Urlbox() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/VerticalBox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/VerticalBox.java index 309be841ee..3825bf78ae 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/VerticalBox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/VerticalBox.java @@ -25,6 +25,8 @@ package org.adempiere.webui.component; */ public class VerticalBox extends org.zkoss.zul.Vbox { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 5995926218043737398L; } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WAppsAction.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WAppsAction.java index b1f73eafa1..87ab7c5b75 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WAppsAction.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WAppsAction.java @@ -35,11 +35,6 @@ import org.compiere.util.Msg; */ public class WAppsAction { - /** - * - */ - private static final long serialVersionUID = 1L; - /** * Application Action * diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListbox.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListbox.java index 5753325320..90efd8cb9f 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListbox.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/WListbox.java @@ -57,10 +57,13 @@ import org.zkoss.zul.ListModel; public class WListbox extends Listbox implements TableValueChangeListener, WTableModelListener { + /** + * + */ + private static final long serialVersionUID = 5893174209599272896L; + /** Logger. */ private static CLogger logger = CLogger.getCLogger(MiniTable.class); - /** Unique serial version identifier. */ - private static final long serialVersionUID = 1L; /** Model Index of Key Column. */ protected int m_keyColumnIndex = -1; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Window.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Window.java index fb867f5437..18054a2e77 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/Window.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/Window.java @@ -25,9 +25,11 @@ package org.adempiere.webui.component; */ public class Window extends org.zkoss.zul.Window { - private static final long serialVersionUID = 1L; - - /*** Show as modal window ***/ + /** + * + */ + private static final long serialVersionUID = -977158068979292880L; + /*** Show as modal window ***/ public static final String MODE_MODAL = "modal"; /*** Show as popup window ***/ public static final String MODE_POPUP = "popup"; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java index bafea7705a..3702ab0a1b 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java @@ -39,7 +39,10 @@ import org.zkoss.zul.Vbox; */ public class DPActivities extends DashboardPanel implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 8123912981765687655L; private static final CLogger logger = CLogger.getCLogger(DPActivities.class); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPCalendar.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPCalendar.java index 08af21406e..87257b7c83 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPCalendar.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPCalendar.java @@ -22,8 +22,11 @@ import org.zkoss.zul.Iframe; */ public class DPCalendar extends DashboardPanel { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -6420016898259232438L; + public DPCalendar() { super(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java index c6f721e22c..566b9973e8 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPFavourites.java @@ -43,12 +43,15 @@ import org.zkoss.zul.Vbox; */ public class DPFavourites extends DashboardPanel implements EventListener { + /** + * + */ + private static final long serialVersionUID = -481859785800845108L; + public static final String FAVOURITE_DROPPABLE = "favourite"; public static final String DELETE_FAV_DROPPABLE = "deleteFav"; - private static final long serialVersionUID = 1L; - private Box bxFav; private Label lblMsg; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPPerformance.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPPerformance.java index 399ce127cf..261fb49d85 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPPerformance.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPPerformance.java @@ -22,8 +22,11 @@ import org.adempiere.webui.apps.graph.WPAPanel; */ public class DPPerformance extends DashboardPanel { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -8878665031716441912L; + public DPPerformance() { super(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java index a9e2cfe4d5..d5a1380750 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java @@ -35,8 +35,11 @@ import org.zkoss.zul.Vbox; */ public class DPViews extends DashboardPanel implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 8375414665766937581L; + public DPViews() { super(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WEditorPopupMenu.java b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WEditorPopupMenu.java index 0da847c025..006483ba4b 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WEditorPopupMenu.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WEditorPopupMenu.java @@ -35,9 +35,11 @@ import org.zkoss.zul.Menupopup; */ public class WEditorPopupMenu extends Menupopup implements EventListener { - private static final long serialVersionUID = 1L; - - private static final String EVENT_ATTRIBUTE = "EVENT"; + /** + * + */ + private static final long serialVersionUID = 8172397145177408454L; + private static final String EVENT_ATTRIBUTE = "EVENT"; public static final String ZOOM_EVENT = "ZOOM"; public static final String REQUERY_EVENT = "REQUERY"; public static final String PREFERENCE_EVENT = "VALUE_PREFERENCE"; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WLocationEditor.java b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WLocationEditor.java index 288214a244..3d569482bb 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WLocationEditor.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WLocationEditor.java @@ -45,7 +45,6 @@ public class WLocationEditor extends WEditor implements EventListener, PropertyC private static final String[] LISTENER_EVENTS = {Events.ON_CLICK}; private static CLogger log = CLogger.getCLogger(WLocationEditor.class); - private static final long serialVersionUID = 1L; private MLocationLookup m_Location; private MLocation m_value; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/exception/ApplicationException.java b/zkwebui/WEB-INF/src/org/adempiere/webui/exception/ApplicationException.java index 052ea5e872..dff8fcc711 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/exception/ApplicationException.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/exception/ApplicationException.java @@ -25,9 +25,12 @@ package org.adempiere.webui.exception; */ public class ApplicationException extends RuntimeException { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -4217881437634023176L; - public ApplicationException(String msg) + public ApplicationException(String msg) { super(msg); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/grid/WBPartner.java b/zkwebui/WEB-INF/src/org/adempiere/webui/grid/WBPartner.java index 9299ed0af2..54c3e7c127 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/grid/WBPartner.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/grid/WBPartner.java @@ -59,7 +59,11 @@ import org.zkoss.zul.Separator; public class WBPartner extends Window implements EventListener, ValueChangeListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 5842369060073088746L; + private static CLogger log = CLogger.getCLogger(WBPartner.class); private int m_WindowNo; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADForm.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADForm.java index b4c8015e2c..4c43be8fca 100755 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADForm.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADForm.java @@ -40,10 +40,11 @@ import org.zkoss.zk.ui.event.EventListener; */ public abstract class ADForm extends Window implements EventListener { - private static final long serialVersionUID = 1L; - - - /** The class' logging enabler */ + /** + * + */ + private static final long serialVersionUID = -244953892567523316L; + /** The class' logging enabler */ protected static final CLogger logger; static diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADSortTab.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADSortTab.java index 9ac8a8a81a..74b947ea6f 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADSortTab.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADSortTab.java @@ -65,7 +65,10 @@ import org.zkoss.zul.event.ListDataEvent; */ public class ADSortTab extends Panel implements IADTabpanel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3533927024365752586L; private int m_AD_ColumnSortOrder_ID; /** @@ -685,8 +688,10 @@ public class ADSortTab extends Panel implements IADTabpanel * @author Teo Sarca */ private class ListElement extends NamePair { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -5645910649588308798L; private int m_key; private int m_AD_Client_ID; private int m_AD_Org_ID; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTreePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTreePanel.java index 02b7369705..636fe6f4a2 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTreePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADTreePanel.java @@ -34,9 +34,11 @@ import org.zkoss.zul.Tree; */ public class ADTreePanel extends Panel implements EventListener { - private static final long serialVersionUID = 1L; - - private TreeSearchPanel pnlSearch; + /** + * + */ + private static final long serialVersionUID = 5473705529310157142L; + private TreeSearchPanel pnlSearch; private Tree tree; private Checkbox chkExpand; // Elaine 2009/02/27 - expand tree diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java index d979b5c6a3..64bcb65afc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java @@ -56,8 +56,6 @@ import org.zkoss.zul.Tab; */ public class ADWindowPanel extends AbstractADWindowPanel { - private static final long serialVersionUID = 1L; - private static final CLogger logger; static diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ChatPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ChatPanel.java index 4596523513..4a886d0d57 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ChatPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ChatPanel.java @@ -27,9 +27,12 @@ import org.adempiere.webui.component.Panel; */ public class ChatPanel extends Panel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 3581014332386266757L; - public ChatPanel() + public ChatPanel() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ConfigurationPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ConfigurationPanel.java index 2092667805..54a2f41394 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ConfigurationPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/ConfigurationPanel.java @@ -27,9 +27,12 @@ import org.adempiere.webui.component.Panel; */ public class ConfigurationPanel extends Panel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7604294587769974845L; - public ConfigurationPanel() + public ConfigurationPanel() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/FooterPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/FooterPanel.java index f6ba45e714..768de4e100 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/FooterPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/FooterPanel.java @@ -31,9 +31,11 @@ import org.zkoss.zul.Separator; public class FooterPanel extends Window { - private static final long serialVersionUID = 1L; - - private Panel panel = new Panel(); + /** + * + */ + private static final long serialVersionUID = -3281918938762973359L; + private Panel panel = new Panel(); private Label label = new Label(); public FooterPanel() diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssetPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssetPanel.java index 2718811a16..49b183ae7a 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssetPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssetPanel.java @@ -57,7 +57,10 @@ import org.zkoss.zul.Separator; public class InfoAssetPanel extends InfoPanel implements ValueChangeListener, EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3324796198694097770L; /** From Clause */ private static String s_assetFROM = "A_ASSET a" diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java index 51205b2921..9ded6d2347 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java @@ -63,8 +63,10 @@ import org.zkoss.zul.Separator; public class InfoAssignmentPanel extends InfoPanel implements EventListener, ValueChangeListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -935642651768066799L; private WEditor fieldResourceType; private WEditor fieldResource; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoBPartnerPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoBPartnerPanel.java index 0705f13be0..524f44b937 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoBPartnerPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoBPartnerPanel.java @@ -57,9 +57,10 @@ import org.zkoss.zul.Separator; public class InfoBPartnerPanel extends InfoPanel implements EventListener, WTableModelListener { - - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -660673175154418548L; private Label lblValue ; private Textbox fieldValue ; private Label lblName; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoCashLinePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoCashLinePanel.java index 94fb399896..ccbf04c5cb 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoCashLinePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoCashLinePanel.java @@ -62,8 +62,10 @@ import org.zkoss.zul.Separator; public class InfoCashLinePanel extends InfoPanel implements ValueChangeListener, EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 3042929765363185887L; private Textbox fName = new Textbox(); private Textbox fAmtTo = new Textbox(); private Textbox fAmtFrom = new Textbox(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java index df34e09b6c..142e4fdf84 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoGeneralPanel.java @@ -50,8 +50,10 @@ import org.zkoss.zul.Separator; */ public class InfoGeneralPanel extends InfoPanel implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -665127800885078238L; private Textbox txt1; private Textbox txt2; private Textbox txt3; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInOutPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInOutPanel.java index 026545fad0..9aadffc61e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInOutPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInOutPanel.java @@ -62,8 +62,11 @@ import org.zkoss.zul.Separator; public class InfoInOutPanel extends InfoPanel implements ValueChangeListener, EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -3927370377224858985L; + private Textbox fDocumentNo = new Textbox(); private WEditor fBPartner_ID; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInvoicePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInvoicePanel.java index 8ef219b246..99f90b86a5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInvoicePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoInvoicePanel.java @@ -65,6 +65,11 @@ import org.zkoss.zul.Separator; public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener { /** + * + */ + private static final long serialVersionUID = 5632526399922930978L; + + /** * Detail protected constructor * @param WindowNo window no * @param value query value @@ -134,8 +139,6 @@ public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener private static int INDEX_PAYSCHEDULE = s_invoiceLayout.length - 1; // last item - private static final long serialVersionUID = 1L; - private void initComponents() { lblDocumentNo = new Label(Msg.translate(Env.getCtx(), "DocumentNo").substring(1)); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoOrderPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoOrderPanel.java index 8788eecbf9..76ab25bc63 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoOrderPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoOrderPanel.java @@ -64,9 +64,11 @@ import org.zkoss.zul.Separator; **/ public class InfoOrderPanel extends InfoPanel implements ValueChangeListener { - private static final long serialVersionUID = 1L; - - private Label lblDocumentNo; + /** + * + */ + private static final long serialVersionUID = 8725276769956103867L; + private Label lblDocumentNo; private Label lblDescription; private Label lblDateOrdered; private Label lblOrderRef; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributeInstancePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributeInstancePanel.java index ee878682f3..1be3efd9ba 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributeInstancePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributeInstancePanel.java @@ -48,7 +48,10 @@ import org.zkoss.zul.Div; */ public class InfoPAttributeInstancePanel extends Window implements EventListener, WTableModelListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2883260173499157121L; /** * Constructor diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java index c828630ceb..f82d2996cf 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java @@ -57,7 +57,10 @@ import org.zkoss.zul.Vbox; */ public class InfoPAttributePanel extends Window implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -6385043105828153806L; /** * Constructor. diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java index 581a2dc76b..fa12aa9cda 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java @@ -64,11 +64,10 @@ import org.zkoss.zul.event.ZulEvents; */ public abstract class InfoPanel extends Window implements EventListener, WTableModelListener { - /** - * default serial version id + * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1797443523668842806L; private final static int PAGE_SIZE = 100; public static InfoPanel create (int WindowNo, diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPaymentPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPaymentPanel.java index 30f1fcd840..8938d1d521 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPaymentPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPaymentPanel.java @@ -63,8 +63,10 @@ import org.zkoss.zul.Separator; public class InfoPaymentPanel extends InfoPanel implements ValueChangeListener, EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -7346527589727807179L; private Textbox fDocumentNo = new Textbox(); private Textbox fAmtTo = new Textbox(); private Textbox fAmtFrom = new Textbox(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java index 0091bf5784..71c9c1adcc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java @@ -94,9 +94,11 @@ import org.zkoss.zkex.zul.South; */ public final class InfoProductPanel extends InfoPanel implements EventListener { - private static final long serialVersionUID = 1L; - - private Label lblValue = new Label(); + /** + * + */ + private static final long serialVersionUID = 8334769481995098193L; + private Label lblValue = new Label(); private Textbox fieldValue = new Textbox(); private Label lblName = new Label(); private Textbox fieldName = new Textbox(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InvoiceHistory.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InvoiceHistory.java index 3fc7e098eb..f13d73a0cb 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InvoiceHistory.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InvoiceHistory.java @@ -57,7 +57,10 @@ import org.zkoss.zkex.zul.South; */ public class InvoiceHistory extends Window implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -7426909865199278220L; /** * Show History diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java index 31d954b165..f89a15e6ba 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LoginPanel.java @@ -58,9 +58,11 @@ import org.zkoss.zul.Listitem; */ public class LoginPanel extends Window implements EventListener { - private static final long serialVersionUID = 1L; - - private static final String RESOURCE = "org.compiere.apps.ALoginRes"; + /** + * + */ + private static final long serialVersionUID = -5823771596520748214L; + private static final String RESOURCE = "org.compiere.apps.ALoginRes"; private ResourceBundle res = ResourceBundle.getBundle(RESOURCE); private Properties ctx; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoPanel.java index 9b5d0c7c9c..eabb3354b3 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoPanel.java @@ -28,9 +28,11 @@ import org.zkoss.zul.Image; */ public class LogoPanel extends Panel { - private static final long serialVersionUID = 1L; - - private Image imgLogo; + /** + * + */ + private static final long serialVersionUID = -3908377845468033243L; + private Image imgLogo; public LogoPanel() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoutPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoutPanel.java index 07c2b9848b..af38da972c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoutPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/LogoutPanel.java @@ -33,9 +33,11 @@ import org.zkoss.zul.Button; public class LogoutPanel extends Panel implements EventListener { - private static final long serialVersionUID = 1L; - - private Button btnLogOut; + /** + * + */ + private static final long serialVersionUID = -456860093240111236L; + private Button btnLogOut; public LogoutPanel() { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java index 5fe435c46c..845aef57b9 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java @@ -53,9 +53,11 @@ import org.zkoss.zul.Treerow; */ public class MenuPanel extends Panel implements EventListener { - private static final long serialVersionUID = 1L; - - private Properties ctx; + /** + * + */ + private static final long serialVersionUID = -593280866781665891L; + private Properties ctx; private TreeSearchPanel pnlSearch; private Tree menuTree; private ArrayList menuListeners = new ArrayList(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RequestNoticePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RequestNoticePanel.java index 05386a66d0..09290cf435 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RequestNoticePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RequestNoticePanel.java @@ -27,9 +27,12 @@ import org.adempiere.webui.component.Panel; */ public class RequestNoticePanel extends Panel { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2530869089383947019L; - public RequestNoticePanel() + public RequestNoticePanel() { super(); } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RolePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RolePanel.java index a091713b79..02b3ef5bdc 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RolePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/RolePanel.java @@ -57,9 +57,12 @@ import org.zkoss.zul.Rows; */ public class RolePanel extends Window implements EventListener { - private static final long serialVersionUID = 1L; - - private static final String RESOURCE = "org.compiere.apps.ALoginRes"; + /** + * + */ + private static final long serialVersionUID = 2808473294679524383L; + + private static final String RESOURCE = "org.compiere.apps.ALoginRes"; private LoginWindow wndLogin; private Login login; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/SidePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/SidePanel.java index ea1327fc7e..1a0623fd91 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/SidePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/SidePanel.java @@ -27,9 +27,11 @@ import org.adempiere.webui.component.Panel; */ public class SidePanel extends Panel { - private static final long serialVersionUID = 1L; - - private MenuPanel pnlMenu; + /** + * + */ + private static final long serialVersionUID = -3039805384016666481L; + private MenuPanel pnlMenu; public SidePanel() { init(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java index a0c40619dc..b595a93fc3 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java @@ -43,9 +43,11 @@ import org.zkoss.zul.Vbox; */ public class StatusBarPanel extends Panel implements EventListener { - private static final long serialVersionUID = 1L; - - private Label statusDB; + /** + * + */ + private static final long serialVersionUID = -1799438509126878684L; + private Label statusDB; private Label statusLine; private Label infoLine; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java index 9c17789a9e..d7495b5aba 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java @@ -47,9 +47,11 @@ import org.zkoss.zul.event.TreeDataListener; */ public class TreeSearchPanel extends Panel implements EventListener, TreeDataListener { - private static final long serialVersionUID = 1L; - - private TreeMap treeNodeItemMap = new TreeMap(); + /** + * + */ + private static final long serialVersionUID = -1788127438140771622L; + private TreeMap treeNodeItemMap = new TreeMap(); private String[] treeValues; private String[] treeDescription; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/UserPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/UserPanel.java index 98d439b247..4068fda6ab 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/UserPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/UserPanel.java @@ -46,9 +46,11 @@ import org.zkoss.zul.Vbox; */ public class UserPanel extends Vbox implements EventListener { - private static final long serialVersionUID = 1L; - - private Properties ctx; + /** + * + */ + private static final long serialVersionUID = 5340541881809458772L; + private Properties ctx; private Grid grid; private ToolBarButton logout = new ToolBarButton(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WAttachment.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WAttachment.java index 46682d7f46..cf55b773c6 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WAttachment.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WAttachment.java @@ -61,8 +61,11 @@ import org.zkoss.zul.Timer; @SuppressWarnings("deprecation") public class WAttachment extends Window implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 2923895336573554570L; + private static CLogger log = CLogger.getCLogger(WAttachment.class); /** Window No */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java index 0ba870aee2..db4cb2b78e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java @@ -48,9 +48,9 @@ import org.zkoss.zul.Space; public class WDocActionPanel extends Window implements EventListener { /** - * + * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5205192043399137291L; private Label lblDocAction; private Label label; private Listbox lstDocAction; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WOnlyCurrentDays.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WOnlyCurrentDays.java index 17ccafd336..2daa0bc57c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WOnlyCurrentDays.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/WOnlyCurrentDays.java @@ -42,7 +42,10 @@ import org.zkoss.zul.Separator; public class WOnlyCurrentDays extends Window implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 2464266193433220449L; /** * Constructor diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/part/MultiTabPart.java b/zkwebui/WEB-INF/src/org/adempiere/webui/part/MultiTabPart.java index cae006c9ec..740a73399d 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/part/MultiTabPart.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/part/MultiTabPart.java @@ -27,8 +27,6 @@ import org.zkoss.zk.ui.Component; */ public class MultiTabPart extends AbstractUIPart { - private static final long serialVersionUID = 1L; - private Tabbox tabbox; public MultiTabPart() diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/part/WindowContainer.java b/zkwebui/WEB-INF/src/org/adempiere/webui/part/WindowContainer.java index 104b1ff5b9..479a47f233 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/part/WindowContainer.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/part/WindowContainer.java @@ -27,8 +27,6 @@ import org.zkoss.zk.ui.Component; */ public class WindowContainer extends AbstractUIPart { - private static final long serialVersionUID = 1L; - private static final int MAX_TITLE_LENGTH = 30; private Tabbox tabbox; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java index 10889937df..bd256cff27 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java @@ -47,9 +47,12 @@ import org.zkoss.zk.ui.http.DHtmlLayoutServlet; */ public class WebUIServlet extends DHtmlLayoutServlet { - private static final long serialVersionUID = 1L; - - /** Logger for the class * */ + /** + * + */ + private static final long serialVersionUID = 261899419681731L; + + /** Logger for the class * */ private static final CLogger logger; static diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/util/UserPreference.java b/zkwebui/WEB-INF/src/org/adempiere/webui/util/UserPreference.java index 24e17b63e0..a99c4afba1 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/util/UserPreference.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/util/UserPreference.java @@ -31,8 +31,10 @@ import org.compiere.util.Language; */ public final class UserPreference implements Serializable { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -1792570749461784394L; /** Language */ public static final String P_LANGUAGE = "Language"; private static final String DEFAULT_LANGUAGE = Language.getName diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/ADWindow.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/ADWindow.java index 785c9b6168..ac5de152fa 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/ADWindow.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/ADWindow.java @@ -34,8 +34,6 @@ import org.zkoss.zk.ui.Component; */ public class ADWindow extends AbstractUIPart { - private static final long serialVersionUID = 1L; - private ADWindowPanel windowPanel; private Properties ctx; private int adWindowId; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java index 2ba01f0013..5beb059c66 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/FindWindow.java @@ -91,8 +91,11 @@ import org.zkoss.zul.Vbox; */ public class FindWindow extends Window implements EventListener,ValueChangeListener { - private static final long serialVersionUID = 1L; - /** Main Window for the Lookup Panel */ + /** + * + */ + private static final long serialVersionUID = 7893948607004510173L; + /** Main Window for the Lookup Panel */ private MultiTabPart winMain; /** Simple Window Tab */ private Window winLookupRecord; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/LoginWindow.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/LoginWindow.java index cac75fda53..5ae2d45996 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/LoginWindow.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/LoginWindow.java @@ -38,9 +38,11 @@ import org.zkoss.zk.ui.event.Events; */ public class LoginWindow extends FWindow implements EventListener { - private static final long serialVersionUID = 1L; - - private IWebClient app; + /** + * + */ + private static final long serialVersionUID = -365979563919913804L; + private IWebClient app; private Properties ctx; private LoginPanel pnlLogin; private RolePanel pnlRole; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java index f93cb0b7e4..828dbbdd13 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java @@ -68,7 +68,10 @@ import org.zkoss.zul.Separator; */ public class WEMailDialog extends Window implements EventListener, ValueChangeListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -2960343329714019910L; /** * EMail Dialog diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocationDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocationDialog.java index 2b283a93ab..055a7a6729 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocationDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocationDialog.java @@ -55,9 +55,11 @@ import org.zkoss.zk.ui.event.Events; **/ public class WLocationDialog extends Window implements EventListener { - - private static final String LABEL_STYLE = "white-space: nowrap;"; - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = 7510181548669317310L; + private static final String LABEL_STYLE = "white-space: nowrap;"; /** Logger */ private static CLogger log = CLogger.getCLogger(WLocationDialog.class); private Label lblAddress1; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocatorDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocatorDialog.java index 15c71606de..7e802357e3 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocatorDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WLocatorDialog.java @@ -57,7 +57,10 @@ import org.zkoss.zul.Vbox; public class WLocatorDialog extends Window implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -1013647722305985723L; private Vbox mainBox = new Vbox(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WMediaDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WMediaDialog.java index 55fd28d8ba..668bbf55b0 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WMediaDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WMediaDialog.java @@ -50,8 +50,11 @@ import org.zkoss.zul.Iframe; */ public class WMediaDialog extends Window implements EventListener { - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = -329919930778203892L; + private static CLogger log = CLogger.getCLogger(WMediaDialog.class); /** data */ diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java index 2c80a9682c..0e98c20bb1 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java @@ -48,7 +48,10 @@ import org.zkoss.zul.Toolbarbutton; */ public class WRecordAccessDialog extends Window implements EventListener { - private static final long serialVersionUID = 1L; + /** + * + */ + private static final long serialVersionUID = -3591753244744022795L; /** * Record Access Dialog diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java b/zkwebui/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java index eaa27102cc..bb26924688 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java @@ -89,9 +89,10 @@ import org.zkoss.zul.Vbox; * @author Low Heng Sin */ public class ZkReportViewer extends Window implements EventListener { - - private static final long serialVersionUID = 1L; - + /** + * + */ + private static final long serialVersionUID = 347074497359766172L; /** Window No */ private int m_WindowNo; /** Print Context */