Override of interfaces is Java 1.6+

This commit is contained in:
Sebb 2015-01-08 02:48:04 +00:00
parent 5617ddc1b3
commit 3b7d0b9546
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ public class HelloWorldExample {
int generation = 0;
@Override
// @Override
public boolean isSatisfied(Population population) {
Chromosome fittestChromosome = population.getFittestChromosome();

View File

@ -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();