# HG changeset patch # User Felix Wolfsteller # Date 1383320416 -3600 # Node ID a9eb777463e13fc42db056af005fe411cb4ba496 # Parent e79e231c864dfec968cd5b159abdb8aa2a548f72 cosmetics, doc. diff -r e79e231c864d -r a9eb777463e1 artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java Fri Nov 01 16:38:03 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java Fri Nov 01 16:40:16 2013 +0100 @@ -184,6 +184,7 @@ } } + /** * The MainValueArtifact can be set up with a document giving the * river and gauge. This happens in context of GaugeDischargeArtifact. @@ -221,7 +222,7 @@ /** - * Create "the" state. + * Create "the" (one possible) state. */ protected State spawnState() { state = new StaticState(STATIC_STATE_NAME); @@ -377,6 +378,7 @@ * @return list of Q main values. */ public List getMainValuesQ(double[] kms) { + logger.debug("MainValuesArtifact.getMainValuesQ(d)"); List filteredList = new ArrayList(); boolean atGauge = false; Gauge gauge = getGauge(kms[0]); @@ -409,9 +411,11 @@ /** * Get a list of "Q" main values. + * @param atGauge whether is at gauge or needs interpolation. * @return list of Q main values. */ public List getMainValuesQ(boolean atGauge) { + logger.debug("MainValuesArtifact.getMainValuesQ(b)"); List filteredList = new ArrayList(); Gauge gauge = getGauge(); WstValueTable interpolator = WstValueTableFactory.getTable(RiverUtils.getRiver(this));