changeset 3325:96bd63281af7

Added Override annotation. flys-backend/trunk@4637 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 11 Jun 2012 13:20:55 +0000
parents 290189f07809
children ff70ff6c0629
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/model/FastAnnotations.java:
+	  Added Override annotation to new NameFilter.
+
 2012-06-11  Raimund Renkert  <raimund.renkert@intevation.de>
 
 	* 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

http://dive4elements.wald.intevation.org