Commit 2fab1c98 authored by Luc Maisonobe's avatar Luc Maisonobe

Fixed findbugs false positive warning.

parent c6e4a733
......@@ -64,6 +64,13 @@
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
</Match>
<!-- The following is a false positive from findbugs -->
<Match>
<Class name="~.*\.IntegratedEphemeris\$LocalProvider$"/>
<Method name="getAdditionalState" />
<Bug pattern="BC_VACUOUS_INSTANCEOF" />
</Match>
<!-- The following equality tests are intentional and needed for semantic purposes -->
<Match>
<Class name="org.orekit.time.TimeComponents" />
......
......@@ -16,7 +16,7 @@
*/
package org.orekit.propagation;
import org.orekit.errors.OrekitException;
import org.orekit.errors.PropagationException;
/** This interface represents providers for additional state data beyond {@link SpacecraftState}.
* <p>
......@@ -39,8 +39,8 @@ public interface AdditionalStateProvider {
/** Get the additional state.
* @param state spacecraft state to which additional state should correspond
* @return additional state corresponding to spacecraft state
* @exception OrekitException if additional state cannot be computed
* @exception PropagationException if additional state cannot be computed
*/
double[] getAdditionalState(SpacecraftState state) throws OrekitException;
double[] getAdditionalState(SpacecraftState state) throws PropagationException;
}
......@@ -268,7 +268,7 @@ public class IntegratedEphemeris
/** {@inheritDoc} */
public double[] getAdditionalState(final SpacecraftState state)
throws OrekitException {
throws PropagationException {
try {
// set the model date
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment