[Dive4elements-commits] [PATCH 4 of 4] Merged

Wald Commits scm-commit at wald.intevation.org
Wed Apr 17 14:52:47 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366203638 -7200
# Node ID ed9d7e3606588d035202e175db647df8b1729717
# Parent  5bb179d4fd5f74fa96e9561392786a22d4d6e97e
# Parent  6e6753b9757f9381661aa411ab32665f7bb15b29
Merged.

diff -r 5bb179d4fd5f -r ed9d7e360658 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java	Wed Apr 17 14:53:16 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java	Wed Apr 17 15:00:38 2013 +0200
@@ -238,8 +238,10 @@
     }
 
 
-    /** Create an ID Filter to accept only the chosen event ids. */
-    protected Filter createEventIDFilter() {
+    /** Create filter to accept only the chosen events. 
+     *  This factored out out to be overwritten. 
+     */
+    protected Filter createFilter() {
         return new IdsFilter(events);
     }
 
@@ -249,7 +251,7 @@
     ) {
         FixingsColumnFactory fcf = FixingsColumnFactory.getInstance();
 
-        Filter filter = createEventIDFilter();
+        Filter filter = createFilter();
 
         List<Fixing.Column> metas = overview.filter(null, filter);
 


More information about the Dive4elements-commits mailing list