Mercurial > dive4elements > river
changeset 2760:23b4ff116015
Cosmetics.
flys-artifacts/trunk@4496 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 24 May 2012 05:58:33 +0000 |
parents | 70465d9b8519 |
children | 28e7c1637f78 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java |
diffstat | 3 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu May 24 04:44:00 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu May 24 05:58:33 2012 +0000 @@ -1,3 +1,11 @@ +2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java: + Cosmetics. + + * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java: + Added TODO. + 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * doc/conf/artifacts/relativepoint.xml,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java Thu May 24 04:44:00 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java Thu May 24 05:58:33 2012 +0000 @@ -41,6 +41,8 @@ protected Point2D calculateDurationCurvePoint(CallContext context, StaticWKmsArtifact artifact) { + // TODO here and in reference curve calc: Do warn if more than 1 + // provider found or (way better) handle it. Object wqdays = null; double km = 0d; List<DataProvider> providers = context.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java Thu May 24 04:44:00 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java Thu May 24 05:58:33 2012 +0000 @@ -19,15 +19,18 @@ import org.apache.log4j.Logger; +/** State of WINFO in which reference curves can be produced. */ public class ReferenceCurveState extends DefaultState implements FacetTypes { private static Logger logger = Logger.getLogger(ReferenceCurveState.class); + public ReferenceCurveState() { } + @Override public Object computeAdvance( FLYSArtifact artifact,