FR [2526794] - Refactoring to change serialVersionUID=1L with proper value

https://sourceforge.net/tracker/index.php?func=detail&aid=2526794&group_id=176962&atid=879335
This commit is contained in:
Carlos Ruiz 2009-05-02 23:19:26 +00:00
parent 809c1cf2da
commit 7042986d00
198 changed files with 861 additions and 446 deletions

View File

@ -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;
/**
*
*/

View File

@ -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)

View File

@ -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;
/**

View File

@ -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;

View File

@ -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));

View File

@ -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";

View File

@ -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
*/

View File

@ -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;
/**
*

View File

@ -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();
}
};

View File

@ -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;
}

View File

@ -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

View File

@ -38,7 +38,7 @@ public class MAcctSchemaGL extends X_C_AcctSchema_GL
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 5303102649110271896L;
/**

View File

@ -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);

View File

@ -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)
{

View File

@ -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;
/**

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -51,12 +51,11 @@ import org.compiere.util.DB;
* <li>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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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;
/**
*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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;
/**

View File

@ -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<String, MProductCategoryAcct>
s_cache = new CCache<String, MProductCategoryAcct>(Table_Name, 40, 5);

View File

@ -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;
/**

View File

@ -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;

View File

@ -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

View File

@ -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<Integer, MResource> s_cache = new CCache<Integer, MResource>(Table_Name, 20);

View File

@ -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<Integer, MResourceType> s_cache = new CCache<Integer, MResourceType>(Table_Name, 20);

View File

@ -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;
/**

View File

@ -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)
{

View File

@ -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 */

View File

@ -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

View File

@ -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);
}

View File

@ -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);

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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

View File

@ -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);

View File

@ -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";

View File

@ -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<Integer,MPPProductBOM> s_cache = new CCache<Integer,MPPProductBOM>(Table_Name, 40, 5);
/** BOM Lines */

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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;
/**

View File

@ -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;

View File

@ -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;

View File

@ -37,8 +37,10 @@ import org.compiere.swing.CComboBox;
* <li>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;

View File

@ -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

View File

@ -51,7 +51,7 @@ public class SubCheckout extends PosSubPanel implements ActionListener
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 6359287546081954105L;
/**
* Constructor

View File

@ -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,

View File

@ -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);

View File

@ -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;

View File

@ -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

View File

@ -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";

View File

@ -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 {

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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];

View File

@ -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

View File

@ -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;

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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()
{

View File

@ -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
*/

View File

@ -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. */

View File

@ -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 */

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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;

View File

@ -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
*/

View File

@ -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 */

View File

@ -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 */

View File

@ -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;

View File

@ -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);
}

View File

@ -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()
{

View File

@ -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);

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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;
}

Some files were not shown because too many files have changed in this diff Show More