Fixed issue 34994: Limits of buildvalidations haven't defined properly.
authorInigo Sanchez <inigo.sanchez@openbravo.com>
Wed, 18 Jan 2017 15:50:27 +0100
changeset 31501 337b0d3cd176
parent 31500 82d9f1cfdafd
child 31502 fc9791663f01
Fixed issue 34994: Limits of buildvalidations haven't defined properly.

Some of the execution limits of platform buildvalidations haven't defined properly. Now the problem have
been resolved by updating the following buildvalidations:

- CheckUpdateConnectionPoolMerge: Execution limit should be defined between [null, 3.0.27659].
- DatabaseDecimalNumberCheck: Should't have any execution limit because it should be executed allways.
- DatabaseVersionCheck: Should't have any execution limit because it should be executed allways.
- JdkVersionCheck: Should't have any execution limit because it should be executed allways.
- RemoveCostingRuleProcessExecutions: Execution limit should be defined between [null, 3.0.25161].
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.class
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/JdkVersionCheck.class
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.class
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java
src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java
src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java
src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java
src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java
Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class has changed
Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.class has changed
Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class has changed
Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/JdkVersionCheck.class has changed
Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.class has changed
--- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java	Tue Jan 17 11:57:35 2017 -0500
+++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java	Wed Jan 18 15:50:27 2017 +0100
@@ -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) 2015-2016 Openbravo SLU
+ * All portions are Copyright (C) 2015-2017 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -306,6 +306,6 @@
   
   @Override
   protected ExecutionLimits getBuildValidationLimits() {
-    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27319));
+    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27659));
   }
 }
--- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java	Tue Jan 17 11:57:35 2017 -0500
+++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java	Wed Jan 18 15:50:27 2017 +0100
@@ -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) 2015-2016 Openbravo SLU
+ * All portions are Copyright (C) 2015-2017 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -60,9 +60,4 @@
     }
     return errors;
   }
-
-  @Override
-  protected ExecutionLimits getBuildValidationLimits() {
-    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 29596));
-  }
 }
--- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java	Tue Jan 17 11:57:35 2017 -0500
+++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java	Wed Jan 18 15:50:27 2017 +0100
@@ -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) 2015-2016 Openbravo SLU
+ * All portions are Copyright (C) 2015-2017 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  
  *************************************************************************
@@ -119,9 +119,4 @@
     }
     return version;
   }
-  
-  @Override
-  protected ExecutionLimits getBuildValidationLimits() {
-    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27370));
-  }
 }
--- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java	Tue Jan 17 11:57:35 2017 -0500
+++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java	Wed Jan 18 15:50:27 2017 +0100
@@ -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) 2016 Openbravo SLU
+ * All portions are Copyright (C) 2016-2017 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -28,12 +28,6 @@
   private static final int JAVA7_MAJOR_VERSION = 51;
 
   @Override
-  protected ExecutionLimits getBuildValidationLimits() {
-    ExecutionLimits pr17Q1 = new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 30600));
-    return pr17Q1;
-  }
-
-  @Override
   public List<String> execute() {
     ArrayList<String> errors = new ArrayList<String>();
     try {
--- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java	Tue Jan 17 11:57:35 2017 -0500
+++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java	Wed Jan 18 15:50:27 2017 +0100
@@ -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) 2015-2016 Openbravo SLU
+ * All portions are Copyright (C) 2015-2017 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -69,6 +69,6 @@
 
   @Override
   protected ExecutionLimits getBuildValidationLimits() {
-    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 26130));
+    return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 25161));
   }
 }