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>(); }