[Dive4elements-commits] [PATCH 10 of 10] FixCalculation: Cosmetics, renamed function, doc

Wald Commits scm-commit at wald.intevation.org
Tue Apr 16 16:17:27 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366109151 -7200
# Node ID b7d631e45ee726dc214a639e113ee291fbc6e2a1
# Parent  fdd2647d1912fde5f24b4508c4241f41bc50c599
FixCalculation: Cosmetics, renamed function, doc.

diff -r fdd2647d1912 -r b7d631e45ee7 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	Tue Apr 16 12:44:22 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java	Tue Apr 16 12:45:51 2013 +0200
@@ -237,7 +237,9 @@
         return sb.toString();
     }
 
-    protected Filter createFilter() {
+
+    /** Create an ID Filter to accept only the chosen event ids. */
+    protected Filter createEventIDFilter() {
         return new IdsFilter(events);
     }
 
@@ -247,7 +249,7 @@
     ) {
         FixingsColumnFactory fcf = FixingsColumnFactory.getInstance();
 
-        Filter filter = createFilter();
+        Filter filter = createEventIDFilter();
 
         List<Fixing.Column> metas = overview.filter(null, filter);
 
@@ -267,6 +269,7 @@
         return columns;
     }
 
+    // Fit a function to the given points from fixation.
     protected FitResult doFitting(
         FixingsOverview overview,
         ColumnCache     cc,


More information about the Dive4elements-commits mailing list