Add "@Override" annotations.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/797e4025 Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/797e4025 Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/797e4025 Branch: refs/heads/master Commit: 797e402509cab481fea3b8bc4562e0dc4860ae0d Parents: d2de837 Author: Gilles Sadowski <gil...@harfang.homelinux.org> Authored: Tue Dec 26 21:53:38 2017 +0100 Committer: Gilles Sadowski <gil...@harfang.homelinux.org> Committed: Tue Dec 26 21:53:38 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/commons/numbers/field/FractionField.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/797e4025/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FractionField.java ---------------------------------------------------------------------- diff --git a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FractionField.java b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FractionField.java index b383e30..941225d 100644 --- a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FractionField.java +++ b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FractionField.java @@ -23,11 +23,13 @@ import org.apache.commons.numbers.fraction.Fraction; */ public class FractionField extends AbstractField<Fraction> { /** {@inheritDoc} */ + @Override public Fraction one() { return Fraction.ONE; } /** {@inheritDoc} */ + @Override public Fraction zero() { return Fraction.ZERO; }