Implement best practice in some classes suppressing warning about serialVersionUID:

http://www.adempiere.com/index.php/Release_Commit_Rules#I9_-_Regenerate_serialVersionUID_when_required_.28B.29
This commit is contained in:
Carlos Ruiz 2011-03-08 11:00:56 -05:00
parent 5071651358
commit cd24e36409
4 changed files with 20 additions and 4 deletions

View File

@ -26,9 +26,12 @@ import javax.servlet.http.HttpServletRequest;
* @author Yves Sandfort
* @version $Id$
*/
@SuppressWarnings("serial")
public class MAd extends X_CM_Ad
{
/**
*
*/
private static final long serialVersionUID = 7016174881466935574L;
/**
* Standard constructor for AD

View File

@ -32,9 +32,14 @@ import org.compiere.util.DB;
* @author Yves Sandfort
* @version $Id: MTemplate.java,v 1.12 2006/08/08 18:56:05 comdivision Exp $
*/
@SuppressWarnings("serial")
public class MTemplate extends X_CM_Template
{
/**
*
*/
private static final long serialVersionUID = -2349891937695644752L;
/**
* Get MTemplate from Cache
*

View File

@ -64,8 +64,12 @@ import sun.awt.AppContext;
* @author Low Heng Sin
* @version 2006-11-27
*/
@SuppressWarnings("serial")
public class PLAFEditorPanel extends CPanel {
/**
*
*/
private static final long serialVersionUID = 3991197818429424319L;
/** Logger */
private static Logger log = Logger.getLogger(PLAFEditor.class.getName());

View File

@ -57,8 +57,12 @@ import org.compiere.util.Env;
* <li>BF [ 2548216 ] Process Param Panel is not showing any parameter if error
* @version 2006-12-01
*/
@SuppressWarnings("serial")
public class ProcessParameterPanel extends CPanel implements VetoableChangeListener, IProcessParameter {
/**
*
*/
private static final long serialVersionUID = 4042260793108029845L;
/**
* Dynamic generated Parameter panel.
* @param WindowNo window