# HG changeset patch # User Sascha L. Teichmann # Date 1339420855 0 # Node ID 96bd63281af72d0c47a3e6552afce7fbb3586a79 # Parent 290189f078091ae4b4850a3375b78e48e847b148 Added Override annotation. flys-backend/trunk@4637 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 290189f07809 -r 96bd63281af7 flys-backend/ChangeLog --- a/flys-backend/ChangeLog Mon Jun 11 12:17:11 2012 +0000 +++ b/flys-backend/ChangeLog Mon Jun 11 13:20:55 2012 +0000 @@ -1,3 +1,8 @@ +2012-06-11 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/model/FastAnnotations.java: + Added Override annotation to new NameFilter. + 2012-06-11 Raimund Renkert * src/main/java/de/intevation/flys/model/FastAnnotations.java: diff -r 290189f07809 -r 96bd63281af7 flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java --- a/flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java Mon Jun 11 12:17:11 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java Mon Jun 11 13:20:55 2012 +0000 @@ -142,18 +142,19 @@ } // interface Filter - public static class NameFilter implements Filter{ + public static class NameFilter implements Filter { private String name; - public NameFilter (String name) { + public NameFilter(String name) { this.name = name; } - public boolean accept (Annotation annotation) { + @Override + public boolean accept(Annotation annotation) { return annotation.getName().contains(name); } - } + } // class NameFilter public static final Filter ALL = new Filter() { @Override