commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1209105 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Date Thu, 01 Dec 2011 14:36:51 GMT
Author: erans
Date: Thu Dec  1 14:36:50 2011
New Revision: 1209105

URL: http://svn.apache.org/viewvc?rev=1209105&view=rev
Log:
Removed unnecessary call to base class' default constructor.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=1209105&r1=1209104&r2=1209105&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Thu
Dec  1 14:36:50 2011
@@ -42,11 +42,10 @@ public final class MathUtils {
     public static final double TWO_PI = 2 * FastMath.PI;
 
     /**
-     * Private Constructor
+     * Class contains only static methods.
      */
-    private MathUtils() {
-        super();
-    }
+    private MathUtils() {}
+
 
     /**
      * Returns an integer hash code representing the given double value.



Mime
View raw message