# HG changeset patch # User Felix Wolfsteller # 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 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,