sonarfix: Remove transient keyword from non-Serializable class
This commit is contained in:
parent
6969438fda
commit
6ea87d0adc
|
@ -59,7 +59,7 @@ import org.apache.commons.math4.legacy.core.MathArrays;
|
|||
*/
|
||||
public class DerivativeStructure implements RealFieldElement<DerivativeStructure> {
|
||||
/** Compiler for the current dimensions. */
|
||||
private transient DSCompiler compiler;
|
||||
private DSCompiler compiler;
|
||||
|
||||
/** Combined array holding all values. */
|
||||
private final double[] data;
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.apache.commons.math4.legacy.linear.RealVector;
|
|||
*/
|
||||
public class LinearConstraint {
|
||||
/** Coefficients of the constraint (left hand side). */
|
||||
private final transient RealVector coefficients;
|
||||
private final RealVector coefficients;
|
||||
/** Relationship between left and right hand sides {@code (=, <=, >=)}. */
|
||||
private final Relationship relationship;
|
||||
/** Value of the constraint (right hand side). */
|
||||
|
|
|
@ -37,7 +37,7 @@ public class LinearObjectiveFunction
|
|||
implements MultivariateFunction,
|
||||
OptimizationData {
|
||||
/** Coefficients of the linear equation (c<sub>i</sub>). */
|
||||
private final transient RealVector coefficients;
|
||||
private final RealVector coefficients;
|
||||
/** Constant term of the linear equation. */
|
||||
private final double constantTerm;
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ class SimplexTableau {
|
|||
private final List<String> columnLabels = new ArrayList<>();
|
||||
|
||||
/** Simple tableau. */
|
||||
private transient Array2DRowRealMatrix tableau;
|
||||
private Array2DRowRealMatrix tableau;
|
||||
|
||||
/** Number of decision variables. */
|
||||
private final int numDecisionVariables;
|
||||
|
|
Loading…
Reference in New Issue