[pi-code-cleaning] @SuppressWarnings("serial") have been added
authorNaroa Iriarte <naroa.iriarte@openbravo.com>
Thu, 28 Apr 2016 12:20:43 +0200
changeset 29525 edc77c7c500a
parent 29524 ca070e9acdd1
child 29526 f0da01713483
[pi-code-cleaning] @SuppressWarnings("serial") have been added

Some @SuppressWarnings("serial") have been added to avoid warnigs
of serializable classes that do not have serialVersionUID.
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/CSSMinimizer.java
src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java
src/org/openbravo/erpCommon/ad_callouts/SE_Sales_Pricelist.java
src/org/openbravo/erpCommon/ad_process/Register.java
src/org/openbravo/erpCommon/utility/TableSQLData.java
--- a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/CSSMinimizer.java	Thu Apr 28 11:28:26 2016 +0200
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/CSSMinimizer.java	Thu Apr 28 12:20:43 2016 +0200
@@ -626,12 +626,15 @@
   }
 }
 
+@SuppressWarnings("serial")
 class UnterminatedCommentException extends Exception {
 }
 
+@SuppressWarnings("serial")
 class UnbalancedBracesException extends Exception {
 }
 
+@SuppressWarnings("serial")
 class IncompletePropertyException extends Exception {
   String message = null;
 
@@ -644,6 +647,7 @@
   }
 }
 
+@SuppressWarnings("serial")
 class EmptySelectorBodyException extends Exception {
   String message = null;
 
@@ -656,6 +660,7 @@
   }
 }
 
+@SuppressWarnings("serial")
 class UnterminatedSelectorException extends Exception {
   String message = null;
 
@@ -668,6 +673,7 @@
   }
 }
 
+@SuppressWarnings("serial")
 class IncompleteSelectorException extends Exception {
   String message = null;
 
--- a/src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java	Thu Apr 28 11:28:26 2016 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java	Thu Apr 28 12:20:43 2016 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2016 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -30,6 +30,7 @@
 import org.openbravo.data.FieldProvider;
 import org.openbravo.utils.FormatUtilities;
 
+@SuppressWarnings("serial")
 public abstract class CalloutHelper extends HttpSecureAppServlet {
 
   public void init(ServletConfig config) {
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Sales_Pricelist.java	Thu Apr 28 11:28:26 2016 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Sales_Pricelist.java	Thu Apr 28 12:20:43 2016 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2012 Openbravo SLU
+ * All portions are Copyright (C) 2012-2016 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,6 +20,7 @@
 
 import javax.servlet.ServletException;
 
+@SuppressWarnings("serial")
 public class SE_Sales_Pricelist extends SimpleCallout {
 
   @Override
--- a/src/org/openbravo/erpCommon/ad_process/Register.java	Thu Apr 28 11:28:26 2016 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/Register.java	Thu Apr 28 12:20:43 2016 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2008-2010 Openbravo SLU 
+ * All portions are Copyright (C) 2008-2016 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -21,6 +21,7 @@
 
 import org.openbravo.base.secureApp.HttpSecureAppServlet;
 
+@SuppressWarnings("serial")
 public class Register extends HttpSecureAppServlet {
 
   /*
--- a/src/org/openbravo/erpCommon/utility/TableSQLData.java	Thu Apr 28 11:28:26 2016 +0200
+++ b/src/org/openbravo/erpCommon/utility/TableSQLData.java	Thu Apr 28 12:20:43 2016 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2012 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2016 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -38,6 +38,7 @@
  * 
  *         Handler to manage all the process for the tab's query building.
  */
+@SuppressWarnings("serial")
 public class TableSQLData implements Serializable {
   private static Logger log4j = Logger.getLogger(TableSQLData.class);
   private final String internalPrefix = "@@";