# HG changeset patch # User Felix Wolfsteller # Date 1314793223 0 # Node ID eaf32c767bac373ce9a84a3c327ad43d4c773d46 # Parent 9cc658cc4e20e823cf927827937c955ad89863a7 Cosmetics. flys-artifacts/trunk@2622 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 9cc658cc4e20 -r eaf32c767bac flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Aug 31 10:43:21 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Aug 31 12:20:23 2011 +0000 @@ -1,3 +1,10 @@ +2011-08-31 Felix Wolfsteller + + Cosmetics. + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: + Cosmetics. + 2011-08-31 Felix Wolfsteller Cosmetics. diff -r 9cc658cc4e20 -r eaf32c767bac flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Wed Aug 31 10:43:21 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Wed Aug 31 12:20:23 2011 +0000 @@ -27,7 +27,6 @@ import de.intevation.flys.artifacts.model.CalculationResult; import de.intevation.flys.artifacts.model.DischargeTables; import de.intevation.flys.artifacts.model.MainValuesFactory; -import de.intevation.flys.artifacts.model.RiverFactory; import de.intevation.flys.artifacts.model.Segment; import de.intevation.flys.artifacts.model.WQKms; import de.intevation.flys.artifacts.model.WstValueTable; @@ -75,10 +74,10 @@ public static final String XPATH_STATIC_UI ="/art:result/art:ui/art:static"; /** The default number of steps between the start end end of a selected Q - * range.*/ + * range. */ public static final int DEFAULT_Q_STEPS = 30; - /** The default step width between the start end end kilometer.*/ + /** The default step width between the start end end kilometer. */ public static final double DEFAULT_KM_STEPS = 0.1; @@ -349,6 +348,7 @@ return computeWaterlevelData(kms, qs, ws, wst, refKm); } + /** * Computes the data of a waterlevel computation based on the interpolation * in WstValueTable. @@ -866,7 +866,7 @@ */ public boolean isFreeQ() { StateData mode = getData("wq_free"); - String value = mode != null ? (String) mode.getValue() : null; + String value = (mode != null) ? (String) mode.getValue() : null; logger.debug("isFreeQ: " + value); @@ -889,7 +889,7 @@ StateData dMode = getData("wq_mode"); StateData dValues = getData("wq_values"); - String mode = dMode != null ? (String) dMode.getValue() : ""; + String mode = (dMode != null) ? (String) dMode.getValue() : ""; if (mode.equals("Q")) { return getWQForDist(range); @@ -911,7 +911,7 @@ StateData dMode = getData("wq_mode"); StateData dValues = getData("wq_values"); - String mode = dMode != null ? (String) dMode.getValue() : ""; + String mode = (dMode != null) ? (String) dMode.getValue() : ""; if (mode.equals("W")) { return getWQForDist(range);