From 3b7d0b95466139a147fc504b7c18897dcc826c65 Mon Sep 17 00:00:00 2001 From: Sebb Date: Thu, 8 Jan 2015 02:48:04 +0000 Subject: [PATCH] Override of interfaces is Java 1.6+ --- .../commons/math3/userguide/genetics/HelloWorldExample.java | 2 +- .../commons/math3/userguide/geometry/GeometryExample.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/userguide/java/org/apache/commons/math3/userguide/genetics/HelloWorldExample.java b/src/userguide/java/org/apache/commons/math3/userguide/genetics/HelloWorldExample.java index c95ae2859..00c40e819 100644 --- a/src/userguide/java/org/apache/commons/math3/userguide/genetics/HelloWorldExample.java +++ b/src/userguide/java/org/apache/commons/math3/userguide/genetics/HelloWorldExample.java @@ -63,7 +63,7 @@ public class HelloWorldExample { int generation = 0; - @Override +// @Override public boolean isSatisfied(Population population) { Chromosome fittestChromosome = population.getFittestChromosome(); diff --git a/src/userguide/java/org/apache/commons/math3/userguide/geometry/GeometryExample.java b/src/userguide/java/org/apache/commons/math3/userguide/geometry/GeometryExample.java index 9b7cb081b..ea3ea3f66 100644 --- a/src/userguide/java/org/apache/commons/math3/userguide/geometry/GeometryExample.java +++ b/src/userguide/java/org/apache/commons/math3/userguide/geometry/GeometryExample.java @@ -169,7 +169,7 @@ public class GeometryExample { random.addActionListener(new ActionListener() { - @Override +// @Override public void actionPerformed(ActionEvent e) { canvas.getLayer().removeAllChildren(); @@ -183,7 +183,7 @@ public class GeometryExample { circle.addActionListener(new ActionListener() { - @Override +// @Override public void actionPerformed(ActionEvent e) { canvas.getLayer().removeAllChildren(); @@ -197,7 +197,7 @@ public class GeometryExample { cross.addActionListener(new ActionListener() { - @Override +// @Override public void actionPerformed(ActionEvent e) { canvas.getLayer().removeAllChildren();