IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> The serializable class does not declare a static final serialVersionUID field of type long
This commit is contained in:
parent
7ba478f6c2
commit
624d5862e2
|
@ -18,6 +18,11 @@ import org.idempiere.fa.feature.UseLifeImpl;
|
|||
*/
|
||||
public class MAssetClass extends X_A_Asset_Class
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -6526341869523579715L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -9,6 +9,11 @@ import org.compiere.util.DB;
|
|||
** @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ */
|
||||
public class MAssetUse extends X_A_Asset_Use
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -1247516669047870893L;
|
||||
|
||||
public MAssetUse (Properties ctx, int A_Asset_Use_ID, String trxName)
|
||||
{
|
||||
super (ctx, A_Asset_Use_ID, trxName);
|
||||
|
|
|
@ -10,6 +10,10 @@ import java.util.Properties;
|
|||
*/
|
||||
public class MDepreciationBuild extends X_A_Depreciation_Build
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 2075917470265913988L;
|
||||
/** Standard Constructor */
|
||||
public MDepreciationBuild (Properties ctx, int A_Depreciation_Build_ID, String trxName)
|
||||
{
|
||||
|
|
|
@ -16,6 +16,11 @@ import org.compiere.util.DB;
|
|||
*/
|
||||
public class MDepreciationConvention extends X_A_Depreciation_Convention
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 2274629486216430723L;
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
* @param ctx context
|
||||
|
|
|
@ -19,6 +19,11 @@ import org.compiere.util.DB;
|
|||
*/
|
||||
public class MDepreciationMethod extends X_A_Depreciation_Method
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4622027905888469713L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public MDepreciationMethod (Properties ctx, int A_Depreciation_Method_ID, String trxName)
|
||||
{
|
||||
|
|
|
@ -5,6 +5,11 @@ import java.util.Properties;
|
|||
|
||||
public class MQualityTest extends X_M_QualityTest {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8585270006299484402L;
|
||||
|
||||
public MQualityTest(Properties ctx, int M_QualityTest_ID, String trxName) {
|
||||
super(ctx, M_QualityTest_ID, trxName);
|
||||
}
|
||||
|
|
|
@ -4,6 +4,11 @@ import java.util.Properties;
|
|||
|
||||
public class MQualityTestResult extends X_M_QualityTestResult {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -4253026765149175778L;
|
||||
|
||||
public MQualityTestResult(Properties ctx, int M_QualityTestResult_ID,
|
||||
String trxName) {
|
||||
super(ctx, M_QualityTestResult_ID, trxName);
|
||||
|
|
|
@ -9,6 +9,10 @@ import org.compiere.util.Env;
|
|||
** @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ */
|
||||
public class MXIFAJournal extends X_I_FAJournal
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -1173588601522240768L;
|
||||
public MXIFAJournal (Properties ctx, int I_FAJournal_ID, String trxName)
|
||||
{
|
||||
super (ctx, I_FAJournal_ID, trxName);
|
||||
|
|
|
@ -41,6 +41,11 @@ import org.compiere.print.MPrintFormatItem;
|
|||
*/
|
||||
public class BarcodeElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -935853466496345172L;
|
||||
|
||||
/**
|
||||
* Barcode Element Constructor
|
||||
* @param code barcode data string
|
||||
|
|
|
@ -33,6 +33,11 @@ import org.compiere.print.MPrintFormatItem;
|
|||
*/
|
||||
public class BoxElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -1956804687979601523L;
|
||||
|
||||
/**
|
||||
* BoxElement
|
||||
* @param item item
|
||||
|
|
|
@ -30,6 +30,11 @@ import org.compiere.print.MPrintGraph;
|
|||
*/
|
||||
public class GraphElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -1723609598698053387L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param pg graph model
|
||||
|
|
|
@ -36,6 +36,11 @@ import java.util.Properties;
|
|||
*/
|
||||
public class GridElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1744788593309619751L;
|
||||
|
||||
/**
|
||||
* Grid Element Constructor
|
||||
* Call setData to initialize content
|
||||
|
|
|
@ -32,6 +32,12 @@ import java.util.Properties;
|
|||
*/
|
||||
public class HTMLElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -7752468251586676726L;
|
||||
|
||||
|
||||
/**
|
||||
* HTML String Constructor
|
||||
* @param html html code
|
||||
|
|
|
@ -43,6 +43,11 @@ import org.compiere.util.Env;
|
|||
*/
|
||||
public class ImageElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 905615948952506059L;
|
||||
|
||||
/**
|
||||
* Create Image from URL
|
||||
* @param imageURLString image url
|
||||
|
|
|
@ -40,6 +40,11 @@ import org.compiere.model.MLocation;
|
|||
*/
|
||||
public class LocationElement extends GridElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -6740297090803465288L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param ctx context
|
||||
|
|
|
@ -31,6 +31,10 @@ import org.compiere.util.Util;
|
|||
* <li>FR [ 1966406 ] Report Engine: AD_PInstance_Logs should be displayed
|
||||
*/
|
||||
public class PInstanceLogElement extends GridElement {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 8315529954507023182L;
|
||||
private int m_effectiveRowCount = 0;
|
||||
|
||||
public PInstanceLogElement(Properties ctx, MQuery query, MPrintTableFormat tFormat)
|
||||
|
|
|
@ -30,6 +30,11 @@ import org.compiere.util.Msg;
|
|||
*/
|
||||
public class ParameterElement extends GridElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4702399095192668527L;
|
||||
|
||||
/**
|
||||
* Parameter Element.
|
||||
* <pre>
|
||||
|
|
|
@ -48,6 +48,11 @@ import org.compiere.util.Util;
|
|||
*/
|
||||
public class StringElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 239112399504036626L;
|
||||
|
||||
/**
|
||||
* Standard Field Constructor.
|
||||
* Created in LayoutEngine
|
||||
|
|
|
@ -79,6 +79,12 @@ import org.compiere.util.ValueNamePair;
|
|||
*/
|
||||
public class TableElement extends PrintElement
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4185521888252077894L;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
* Created in LayoutEngine.
|
||||
|
|
|
@ -12,6 +12,10 @@ import javax.servlet.http.HttpServlet;
|
|||
|
||||
public class DelegatingServlet extends HttpServlet {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 7061080629329202814L;
|
||||
private final HttpServlet delegate;
|
||||
|
||||
public DelegatingServlet(HttpServlet delegate) {
|
||||
|
|
|
@ -540,6 +540,11 @@ public class WTreeBOM extends TreeBOM implements IFormController, EventListener<
|
|||
class mySimpleTreeNode extends DefaultTreeNode<Object>
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -7430786399068849936L;
|
||||
|
||||
public mySimpleTreeNode(Object data, List<TreeNode<Object>> children) {
|
||||
|
||||
super(data, children);
|
||||
|
|
|
@ -177,7 +177,12 @@ public class NumberBox extends Div
|
|||
private Popup getCalculatorPopup()
|
||||
{
|
||||
Popup popup = new Popup() {
|
||||
@Override
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -5991248152956632527L;
|
||||
|
||||
@Override
|
||||
public void onPageAttached(Page newpage, Page oldpage) {
|
||||
super.onPageAttached(newpage, oldpage);
|
||||
if (newpage != null) {
|
||||
|
|
|
@ -23,6 +23,10 @@ import org.zkoss.zk.ui.event.Event;
|
|||
*/
|
||||
public class DrillEvent extends Event {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4877800961258241047L;
|
||||
public final static String ON_DRILL_DOWN = "onDrillDown";
|
||||
public final static String ON_DRILL_ACROSS = "onDrillAcross";
|
||||
|
||||
|
|
|
@ -23,6 +23,10 @@ import org.zkoss.zk.ui.event.Event;
|
|||
*/
|
||||
public class TokenEvent extends Event {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 7727018026113457776L;
|
||||
/** on loading of user token **/
|
||||
public final static String ON_USER_TOKEN = "onUserToken";
|
||||
|
||||
|
|
|
@ -23,6 +23,10 @@ import org.zkoss.zk.ui.event.Event;
|
|||
*/
|
||||
public class ZoomEvent extends Event {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8857628145535148973L;
|
||||
public final static String EVENT_NAME = "onZoom";
|
||||
|
||||
public ZoomEvent(Component target, Object data) {
|
||||
|
|
|
@ -15,6 +15,11 @@ import org.idempiere.fitnesse.server.Runner;
|
|||
*
|
||||
*/
|
||||
public class SlimServlet extends HttpServlet {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4811874706328623672L;
|
||||
|
||||
@Override
|
||||
public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {
|
||||
String portNumber = request.getParameter(SlimServerParameters.PORT);
|
||||
|
|
|
@ -22,6 +22,11 @@ public class WWindowStatus
|
|||
{
|
||||
public static class AD_WrongTabException extends Exception
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8949499217396844364L;
|
||||
|
||||
public AD_WrongTabException( String msg ) {
|
||||
super(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue