reintroduced modifiers needed for serialization.

This commit is contained in:
Luc Maisonobe 2015-11-02 16:20:54 +01:00
parent 026fce5c5f
commit 8e0b98bf6b
11 changed files with 45 additions and 10 deletions

View File

@ -189,6 +189,11 @@
<property name="onCommentFormat" value="CHECKSTYLE\: resume DeclarationOrder"/>
<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"/>

View File

@ -68,8 +68,11 @@ class ClassicalRungeKuttaStepInterpolator
* interpolators by cloning an uninitialized model and latter initializing
* the copy.
*/
ClassicalRungeKuttaStepInterpolator() {
// 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

View File

@ -97,7 +97,9 @@ class DormandPrince54StepInterpolator
* prototyping design pattern to create the step interpolators by
* cloning an uninitialized model and latter initializing the copy.
*/
DormandPrince54StepInterpolator() {
// CHECKSTYLE: stop RedundantModifier
// the public modifier here is needed for serialization
public DormandPrince54StepInterpolator() {
super();
v1 = null;
v2 = 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

View File

@ -227,12 +227,15 @@ class DormandPrince853StepInterpolator
* prototyping design pattern to create the step interpolators by
* cloning an uninitialized model and latter initializing the copy.
*/
DormandPrince853StepInterpolator() {
// 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

View File

@ -59,8 +59,11 @@ class EulerStepInterpolator
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
EulerStepInterpolator() {
// 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

View File

@ -75,8 +75,11 @@ class GillStepInterpolator
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
GillStepInterpolator() {
// 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

View File

@ -107,13 +107,16 @@ class GraggBulirschStoerStepInterpolator
* This constructor should not be used directly, it is only intended
* for the serialization process.
*/
GraggBulirschStoerStepInterpolator() {
// CHECKSTYLE: stop RedundantModifier
// the public modifier here is needed for serialization
public GraggBulirschStoerStepInterpolator() {
y0Dot = null;
y1 = null;
y1Dot = null;
yMidDots = null;
resetTables(-1);
}
// CHECKSTYLE: resume RedundantModifier
/** Simple constructor.
* @param y reference to the integrator array holding the current state

View File

@ -45,9 +45,12 @@ class HighamHall54StepInterpolator
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
HighamHall54StepInterpolator() {
// 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

View File

@ -51,8 +51,11 @@ class LutherStepInterpolator extends RungeKuttaStepInterpolator {
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
LutherStepInterpolator() {
// 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

View File

@ -61,8 +61,11 @@ class MidpointStepInterpolator
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
MidpointStepInterpolator() {
// 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

View File

@ -71,8 +71,11 @@ class ThreeEighthesStepInterpolator
* to create the step interpolators by cloning an uninitialized model
* and later initializing the copy.
*/
ThreeEighthesStepInterpolator() {
// 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