commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r811780 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: analysis/solvers/ complex/ fraction/ stat/inference/ util/
Date Sun, 06 Sep 2009 08:38:59 GMT
Author: luc
Date: Sun Sep  6 08:38:59 2009
New Revision: 811780

URL: http://svn.apache.org/viewvc?rev=811780&view=rev
Log:
fixed checkstyle errors about utility classes constructors

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexField.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/BigFractionField.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionField.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigRealField.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtils.java
Sun Sep  6 08:38:59 2009
@@ -233,9 +233,15 @@
      * <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();
+
     }
 
 }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexField.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexField.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexField.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexField.java
Sun Sep  6 08:38:59 2009
@@ -61,8 +61,14 @@
      * <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.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/BigFractionField.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/BigFractionField.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/BigFractionField.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/BigFractionField.java
Sun Sep  6 08:38:59 2009
@@ -61,8 +61,14 @@
      * <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.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionField.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionField.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionField.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/fraction/FractionField.java
Sun Sep  6 08:38:59 2009
@@ -61,8 +61,14 @@
      * <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.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/inference/OneWayAnovaImpl.java
Sun Sep  6 08:38:59 2009
@@ -199,7 +199,7 @@
          * @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;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigRealField.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigRealField.java?rev=811780&r1=811779&r2=811780&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigRealField.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/BigRealField.java
Sun Sep  6 08:38:59 2009
@@ -61,8 +61,14 @@
      * <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.



Mime
View raw message