Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/ComputedDischargeCurveState.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 |
---|---|
28 import org.dive4elements.river.artifacts.model.WQKms; | 28 import org.dive4elements.river.artifacts.model.WQKms; |
29 import org.dive4elements.river.artifacts.model.CalculationResult; | 29 import org.dive4elements.river.artifacts.model.CalculationResult; |
30 | 30 |
31 import org.dive4elements.river.artifacts.resources.Resources; | 31 import org.dive4elements.river.artifacts.resources.Resources; |
32 | 32 |
33 import org.dive4elements.river.utils.FLYSUtils; | 33 import org.dive4elements.river.utils.RiverUtils; |
34 | 34 |
35 /** | 35 /** |
36 * The final state that will be reached after the discharge curve calculation | 36 * The final state that will be reached after the discharge curve calculation |
37 * mode has been chosen. | 37 * mode has been chosen. |
38 * | 38 * |
75 | 75 |
76 if (facets != null && wqkms.length > 0) { | 76 if (facets != null && wqkms.length > 0) { |
77 for (int i = 0; i < wqkms.length; ++i) { | 77 for (int i = 0; i < wqkms.length; ++i) { |
78 | 78 |
79 Object[] args = new Object[] { | 79 Object[] args = new Object[] { |
80 FLYSUtils.getRiver(winfo).getName(), | 80 RiverUtils.getRiver(winfo).getName(), |
81 // Parse Double to allow i18n. | 81 // Parse Double to allow i18n. |
82 Double.parseDouble(wqkms[i].getName()) | 82 Double.parseDouble(wqkms[i].getName()) |
83 }; | 83 }; |
84 | 84 |
85 String name = Resources.getMsg( | 85 String name = Resources.getMsg( |