fixed checkstyle errors about utility classes constructors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
208aff49c1
commit
514680c03e
|
@ -233,9 +233,15 @@ public class UnivariateRealSolverUtils {
|
|||
* <p>We use here the Initialization On Demand Holder Idiom.</p>
|
||||
*/
|
||||
private static class LazyHolder {
|
||||
|
||||
/** Private constructor. */
|
||||
private LazyHolder() {
|
||||
}
|
||||
|
||||
/** Cached solver factory */
|
||||
private static final UnivariateRealSolverFactory FACTORY =
|
||||
UnivariateRealSolverFactory.newInstance();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -61,8 +61,14 @@ public class ComplexField implements Field<Complex>, Serializable {
|
|||
* <p>We use here the Initialization On Demand Holder Idiom.</p>
|
||||
*/
|
||||
private static class LazyHolder {
|
||||
|
||||
/** Private constructor. */
|
||||
private LazyHolder() {
|
||||
}
|
||||
|
||||
/** Cached field instance. */
|
||||
private static final ComplexField INSTANCE = new ComplexField();
|
||||
|
||||
}
|
||||
|
||||
/** Handle deserialization of the singleton.
|
||||
|
|
|
@ -61,8 +61,14 @@ public class BigFractionField implements Field<BigFraction>, Serializable {
|
|||
* <p>We use here the Initialization On Demand Holder Idiom.</p>
|
||||
*/
|
||||
private static class LazyHolder {
|
||||
|
||||
/** Private constructor. */
|
||||
private LazyHolder() {
|
||||
}
|
||||
|
||||
/** Cached field instance. */
|
||||
private static final BigFractionField INSTANCE = new BigFractionField();
|
||||
|
||||
}
|
||||
|
||||
/** Handle deserialization of the singleton.
|
||||
|
|
|
@ -61,8 +61,14 @@ public class FractionField implements Field<Fraction>, Serializable {
|
|||
* <p>We use here the Initialization On Demand Holder Idiom.</p>
|
||||
*/
|
||||
private static class LazyHolder {
|
||||
|
||||
/** Private constructor. */
|
||||
private LazyHolder() {
|
||||
}
|
||||
|
||||
/** Cached field instance. */
|
||||
private static final FractionField INSTANCE = new FractionField();
|
||||
|
||||
}
|
||||
|
||||
/** Handle deserialization of the singleton.
|
||||
|
|
|
@ -199,7 +199,7 @@ public class OneWayAnovaImpl implements OneWayAnova {
|
|||
* @param dfwg degrees of freedom in denominator (within groups)
|
||||
* @param F statistic
|
||||
*/
|
||||
AnovaStats(int dfbg, int dfwg, double F) {
|
||||
public AnovaStats(int dfbg, int dfwg, double F) {
|
||||
this.dfbg = dfbg;
|
||||
this.dfwg = dfwg;
|
||||
this.F = F;
|
||||
|
|
|
@ -61,8 +61,14 @@ public class BigRealField implements Field<BigReal>, Serializable {
|
|||
* <p>We use here the Initialization On Demand Holder Idiom.</p>
|
||||
*/
|
||||
private static class LazyHolder {
|
||||
|
||||
/** Private constructor. */
|
||||
private LazyHolder() {
|
||||
}
|
||||
|
||||
/** Cached field instance. */
|
||||
private static final BigRealField INSTANCE = new BigRealField();
|
||||
|
||||
}
|
||||
|
||||
/** Handle deserialization of the singleton.
|
||||
|
|
Loading…
Reference in New Issue