From a58a65a43f92abc3948b3549c21284846ec5c9b4 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 10 Jul 2011 11:01:56 +0000 Subject: [PATCH] use checkNotNull git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144821 13f79535-47bb-0310-9956-ffa450edef68 --- .../solvers/BaseAbstractUnivariateRealSolver.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/BaseAbstractUnivariateRealSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/BaseAbstractUnivariateRealSolver.java index f906511f8..3a2c2871c 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/BaseAbstractUnivariateRealSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/BaseAbstractUnivariateRealSolver.java @@ -17,11 +17,11 @@ package org.apache.commons.math.analysis.solvers; -import org.apache.commons.math.util.Incrementor; +import org.apache.commons.math.analysis.UnivariateRealFunction; import org.apache.commons.math.exception.MaxCountExceededException; import org.apache.commons.math.exception.TooManyEvaluationsException; -import org.apache.commons.math.exception.NullArgumentException; -import org.apache.commons.math.analysis.UnivariateRealFunction; +import org.apache.commons.math.util.Incrementor; +import org.apache.commons.math.util.MathUtils; /** * Provide a default implementation for several functions useful to generic @@ -168,9 +168,7 @@ public abstract class BaseAbstractUnivariateRealSolver