commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [2/2] [math] reactivated redundant modifiers needed for serialization.
Date Mon, 02 Nov 2015 15:04:31 GMT
reactivated redundant modifiers needed for serialization.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/ee7b3a58
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/ee7b3a58
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/ee7b3a58

Branch: refs/heads/MATH_3_X
Commit: ee7b3a582701426c2747306b55b44fc831cd2c3e
Parents: 2547835
Author: Luc Maisonobe <luc@apache.org>
Authored: Mon Nov 2 16:03:52 2015 +0100
Committer: Luc Maisonobe <luc@apache.org>
Committed: Mon Nov 2 16:03:52 2015 +0100

----------------------------------------------------------------------
 checkstyle.xml                                                  | 5 +++++
 .../math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java | 3 +++
 .../math3/ode/nonstiff/DormandPrince54StepInterpolator.java     | 3 +++
 .../math3/ode/nonstiff/DormandPrince853StepInterpolator.java    | 3 +++
 .../commons/math3/ode/nonstiff/EulerStepInterpolator.java       | 3 +++
 .../apache/commons/math3/ode/nonstiff/GillStepInterpolator.java | 3 +++
 .../math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java  | 3 +++
 .../math3/ode/nonstiff/HighamHall54StepInterpolator.java        | 3 +++
 .../commons/math3/ode/nonstiff/LutherStepInterpolator.java      | 3 +++
 .../commons/math3/ode/nonstiff/MidpointStepInterpolator.java    | 3 +++
 .../math3/ode/nonstiff/ThreeEighthesStepInterpolator.java       | 3 +++
 11 files changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle.xml b/checkstyle.xml
index 444f84f..e9f785d 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -187,6 +187,11 @@
     <property name="checkFormat"      value="DeclarationOrder"/>
   </module>
   <module name="SuppressionCommentFilter">
+    <property name="offCommentFormat" value="CHECKSTYLE\: stop RedundantModifier"/>
+    <property name="onCommentFormat"  value="CHECKSTYLE\: resume RedundantModifier"/>
+    <property name="checkFormat"      value="RedundantModifier"/>
+  </module>
+  <module name="SuppressionCommentFilter">
     <property name="offCommentFormat" value="CHECKSTYLE\: stop all"/>
     <property name="onCommentFormat" value="CHECKSTYLE\: resume all"/>
   </module>

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java
index 5762106..296f5b5 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/ClassicalRungeKuttaStepInterpolator.java
@@ -68,8 +68,11 @@ class ClassicalRungeKuttaStepInterpolator
      * interpolators by cloning an uninitialized model and latter initializing
      * the copy.
      */
+    // CHECKSTYLE: stop RedundantModifier
+    // the public modifier here is needed for serialization
     public ClassicalRungeKuttaStepInterpolator() {
     }
+    // CHECKSTYLE: resume RedundantModifier
 
     /** Copy constructor.
      * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54StepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54StepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54StepInterpolator.java
index 171a0e5..04aa970 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54StepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince54StepInterpolator.java
@@ -97,6 +97,8 @@ class DormandPrince54StepInterpolator
    * prototyping design pattern to create the step interpolators by
    * cloning an uninitialized model and latter initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public DormandPrince54StepInterpolator() {
     super();
     v1 = null;
@@ -105,6 +107,7 @@ class DormandPrince54StepInterpolator
     v4 = null;
     vectorsInitialized = false;
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince853StepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince853StepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince853StepInterpolator.java
index a1a35d1..6d6ff6c 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince853StepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/DormandPrince853StepInterpolator.java
@@ -227,12 +227,15 @@ class DormandPrince853StepInterpolator
    * prototyping design pattern to create the step interpolators by
    * cloning an uninitialized model and latter initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public DormandPrince853StepInterpolator() {
     super();
     yDotKLast = null;
     v         = null;
     vectorsInitialized = false;
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/EulerStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/EulerStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/EulerStepInterpolator.java
index fa45f14..331cb14 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/EulerStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/EulerStepInterpolator.java
@@ -59,8 +59,11 @@ class EulerStepInterpolator
    * to create the step interpolators by cloning an uninitialized model
    * and later initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public EulerStepInterpolator() {
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/GillStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/GillStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/GillStepInterpolator.java
index 9f23545..72dec69 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/GillStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/GillStepInterpolator.java
@@ -75,8 +75,11 @@ class GillStepInterpolator
    * to create the step interpolators by cloning an uninitialized model
    * and later initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public GillStepInterpolator() {
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
index bbf0d20..33c2705 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
@@ -107,6 +107,8 @@ class GraggBulirschStoerStepInterpolator
    * This constructor should not be used directly, it is only intended
    * for the serialization process.
    */
+    // CHECKSTYLE: stop RedundantModifier
+    // the public modifier here is needed for serialization
   public GraggBulirschStoerStepInterpolator() {
     y0Dot    = null;
     y1       = null;
@@ -114,6 +116,7 @@ class GraggBulirschStoerStepInterpolator
     yMidDots = null;
     resetTables(-1);
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Simple constructor.
    * @param y reference to the integrator array holding the current state

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/HighamHall54StepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/HighamHall54StepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/HighamHall54StepInterpolator.java
index 1d13ddb..682ec7c 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/HighamHall54StepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/HighamHall54StepInterpolator.java
@@ -45,9 +45,12 @@ class HighamHall54StepInterpolator
    * to create the step interpolators by cloning an uninitialized model
    * and later initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public HighamHall54StepInterpolator() {
     super();
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/LutherStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/LutherStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/LutherStepInterpolator.java
index 62d4a24..207a9ea 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/LutherStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/LutherStepInterpolator.java
@@ -51,8 +51,11 @@ class LutherStepInterpolator extends RungeKuttaStepInterpolator {
      * to create the step interpolators by cloning an uninitialized model
      * and later initializing the copy.
      */
+    // CHECKSTYLE: stop RedundantModifier
+    // the public modifier here is needed for serialization
     public LutherStepInterpolator() {
     }
+    // CHECKSTYLE: resume RedundantModifier
 
     /** Copy constructor.
      * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/MidpointStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/MidpointStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/MidpointStepInterpolator.java
index 101a2b5..89a5dc1 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/MidpointStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/MidpointStepInterpolator.java
@@ -61,8 +61,11 @@ class MidpointStepInterpolator
    * to create the step interpolators by cloning an uninitialized model
    * and later initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public MidpointStepInterpolator() {
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ee7b3a58/src/main/java/org/apache/commons/math3/ode/nonstiff/ThreeEighthesStepInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ode/nonstiff/ThreeEighthesStepInterpolator.java
b/src/main/java/org/apache/commons/math3/ode/nonstiff/ThreeEighthesStepInterpolator.java
index 9a56e7e..df288fd 100644
--- a/src/main/java/org/apache/commons/math3/ode/nonstiff/ThreeEighthesStepInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/ode/nonstiff/ThreeEighthesStepInterpolator.java
@@ -71,8 +71,11 @@ class ThreeEighthesStepInterpolator
    * to create the step interpolators by cloning an uninitialized model
    * and later initializing the copy.
    */
+  // CHECKSTYLE: stop RedundantModifier
+  // the public modifier here is needed for serialization
   public ThreeEighthesStepInterpolator() {
   }
+  // CHECKSTYLE: resume RedundantModifier
 
   /** Copy constructor.
    * @param interpolator interpolator to copy from. The copy is a deep


Mime
View raw message