Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/DurationCurveState.java @ 5865:73da40528cf2
River artifacts: Renamed FLYSUtils to RiverUtils.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:09:31 +0200 |
parents | 4897a58c8746 |
children | 59ff03ff48f1 |
comparison
equal
deleted
inserted
replaced
5864:f2e46a668fe6 | 5865:73da40528cf2 |
---|---|
30 import org.dive4elements.river.artifacts.model.EmptyFacet; | 30 import org.dive4elements.river.artifacts.model.EmptyFacet; |
31 import org.dive4elements.river.artifacts.model.CalculationResult; | 31 import org.dive4elements.river.artifacts.model.CalculationResult; |
32 | 32 |
33 import org.dive4elements.river.artifacts.resources.Resources; | 33 import org.dive4elements.river.artifacts.resources.Resources; |
34 | 34 |
35 import org.dive4elements.river.utils.FLYSUtils; | 35 import org.dive4elements.river.utils.RiverUtils; |
36 | 36 |
37 | 37 |
38 /** | 38 /** |
39 * The final state that will be reached after the duration curve calculation | 39 * The final state that will be reached after the duration curve calculation |
40 * mode has been chosen. | 40 * mode has been chosen. |
76 | 76 |
77 if (wqday != null && facets != null) { | 77 if (wqday != null && facets != null) { |
78 RangeAccess rangeAccess = new RangeAccess(winfo, context); | 78 RangeAccess rangeAccess = new RangeAccess(winfo, context); |
79 // Create an i18ed name for a (w or q) duration curve facet. | 79 // Create an i18ed name for a (w or q) duration curve facet. |
80 Object[] args = new Object[] { | 80 Object[] args = new Object[] { |
81 FLYSUtils.getRiver(winfo).getName(), | 81 RiverUtils.getRiver(winfo).getName(), |
82 rangeAccess.getLocations()[0] | 82 rangeAccess.getLocations()[0] |
83 }; | 83 }; |
84 | 84 |
85 String nameW = Resources.getMsg( | 85 String nameW = Resources.getMsg( |
86 context.getMeta(), | 86 context.getMeta(), |