You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2011/12/01 15:36:51 UTC
svn commit: r1209105 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
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.