commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Hendriks <D.Hendr...@tue.nl>
Subject Re: svn commit: r1165033 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
Date Mon, 05 Sep 2011 06:34:54 GMT
Hi Luc,

question: is there a reason you applied this to StepHandler, but not 
FixedStepHandler?

Best regards,
Dennis



luc@apache.org wrote:
> Author: luc
> Date: Sun Sep  4 14:36:48 2011
> New Revision: 1165033
> 
> URL: http://svn.apache.org/viewvc?rev=1165033&view=rev
> Log:
> removed MathUserException from StepHandler interface
> 
> JIRA: MATH-488
> 
> Modified:
>     commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
> 
> Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
> URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java?rev=1165033&r1=1165032&r2=1165033&view=diff
> ==============================================================================
> --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
(original)
> +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/sampling/StepHandler.java
Sun Sep  4 14:36:48 2011
> @@ -17,7 +17,6 @@
>  
>  package org.apache.commons.math.ode.sampling;
>  
> -import org.apache.commons.math.exception.MathUserException;
>  
>  /**
>   * This interface represents a handler that should be called after
> @@ -60,9 +59,7 @@ public interface StepHandler {
>     * Keeping only a reference to the interpolator and reusing it will
>     * result in unpredictable behavior (potentially crashing the application).
>     * @param isLast true if the step is the last one
> -   * @exception MathUserException if user code called from step interpolator
> -   * finalization triggers one
>     */
> -  void handleStep(StepInterpolator interpolator, boolean isLast) throws MathUserException;
> +  void handleStep(StepInterpolator interpolator, boolean isLast);
>  
>  }
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message