commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1353586 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/IterationManager.java
Date Mon, 25 Jun 2012 15:00:12 GMT
Author: celestin
Date: Mon Jun 25 15:00:11 2012
New Revision: 1353586

URL: http://svn.apache.org/viewvc?rev=1353586&view=rev
Log:
In the constructor of IterationManager, removed the check for null argument (already carried
out in the constructor of Incrementor).

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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/IterationManager.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/IterationManager.java?rev=1353586&r1=1353585&r2=1353586&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/IterationManager.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/IterationManager.java
Mon Jun 25 15:00:11 2012
@@ -58,9 +58,6 @@ public class IterationManager {
      */
     public IterationManager(final int maxIterations,
                             final Incrementor.MaxCountExceededCallback callBack) {
-        if (callBack == null) {
-            throw new NullArgumentException();
-        }
         this.iterations = new Incrementor(maxIterations, callBack);
         this.listeners = new CopyOnWriteArrayList<IterationListener>();
     }



Mime
View raw message