From e76bf903a268c242011618730cba7a7bae8d380c Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Wed, 6 Jan 2016 14:29:16 +0100 Subject: [PATCH] Reintroduced @Override as master needs at least Java 7. --- .../org/apache/commons/math4/ode/MultistepFieldIntegrator.java | 2 ++ .../commons/math4/ode/nonstiff/AdamsMoultonFieldIntegrator.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/apache/commons/math4/ode/MultistepFieldIntegrator.java b/src/main/java/org/apache/commons/math4/ode/MultistepFieldIntegrator.java index d1ad3c8ac..fdb1d907c 100644 --- a/src/main/java/org/apache/commons/math4/ode/MultistepFieldIntegrator.java +++ b/src/main/java/org/apache/commons/math4/ode/MultistepFieldIntegrator.java @@ -388,6 +388,7 @@ public abstract class MultistepFieldIntegrator> } /** {@inheritDoc} */ + @Override public void handleStep(FieldStepInterpolator interpolator, boolean isLast) throws MaxCountExceededException { @@ -431,6 +432,7 @@ public abstract class MultistepFieldIntegrator> } /** {@inheritDoc} */ + @Override public void init(final FieldODEStateAndDerivative initialState, T finalTime) { // nothing to do } diff --git a/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsMoultonFieldIntegrator.java b/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsMoultonFieldIntegrator.java index b09942de6..c659cc003 100644 --- a/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsMoultonFieldIntegrator.java +++ b/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsMoultonFieldIntegrator.java @@ -370,12 +370,14 @@ public class AdamsMoultonFieldIntegrator> extends } /** {@inheritDoc} */ + @Override public void start(int rows, int columns, int startRow, int endRow, int startColumn, int endColumn) { Arrays.fill(after, getField().getZero()); } /** {@inheritDoc} */ + @Override public void visit(int row, int column, T value) { if ((row & 0x1) == 0) { after[column] = after[column].subtract(value);