# HG changeset patch # User Felix Wolfsteller # Date 1363765851 -3600 # Node ID 1b73b731f7bdb6702859d9fdfc4e46899aa1efa9 # Parent 3aab1343285b51f5e6a4938e12fccefb4021437e Doc, debug fix. diff -r 3aab1343285b -r 1b73b731f7bd flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java Tue Mar 19 15:43:55 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java Wed Mar 20 08:50:51 2013 +0100 @@ -13,6 +13,7 @@ /** + * Historical Discharge Calculation. * @author Ingo Weinzierl */ public class Calculation6 extends Calculation { @@ -101,6 +102,7 @@ return relevant; } + /** True if timerange of given discharge table overlaps with timerange. */ protected boolean isDischargeTableRelevant(DischargeTable dt) { TimeInterval ti = dt.getTimeInterval(); @@ -173,6 +175,7 @@ String.valueOf(km), dt.getTimeInterval()); } + /** Without reference. */ protected WQTimerange[] prepareSimpleData(List dts) { List wqts = new ArrayList(values.length); @@ -220,6 +223,7 @@ return wqts.toArray(new WQTimerange[wqts.size()]); } + /** With reference. */ protected HistoricalWQTimerange[] prepareData(DischargeTable refTable, List dts) { List wqts = new ArrayList( @@ -295,6 +299,7 @@ .toArray(new HistoricalWQTimerange[wqts.size()]); } + /** Returns discharge table interval as Date[]. */ protected Date[] prepareTimeInterval(DischargeTable dt) { TimeInterval ti = dt.getTimeInterval(); diff -r 3aab1343285b -r 1b73b731f7bd flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java Tue Mar 19 15:43:55 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java Wed Mar 20 08:50:51 2013 +0100 @@ -170,6 +170,7 @@ } } + /** Create title for a Discharge-curve, including date. */ protected String createDischargeCurveTitle(CallContext cc, HistoricalWQKms wqkms) { TimeInterval timeInterval = wqkms.getTimeInterval(); @@ -185,6 +186,8 @@ } } + + /** Create string for facets name/description. */ protected String createFacetTitle(WQTimerange wqt) { String name = wqt.getName(); diff -r 3aab1343285b -r 1b73b731f7bd flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Mar 19 15:43:55 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Wed Mar 20 08:50:51 2013 +0100 @@ -240,7 +240,7 @@ } } else { - logger.debug("doAnalysisEventsOut: qwds == null"); + logger.debug("doReferenceEventsOut: qwds == null"); } }