comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java @ 1103:e0243627ba62

Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. flys-artifacts/trunk@2606 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 29 Aug 2011 09:26:07 +0000
parents c09c9e05ecfa
children e8fc770d2f8c
comparison
equal deleted inserted replaced
1102:7bd514eb4b2c 1103:e0243627ba62
18 import de.intevation.flys.artifacts.model.WQKms; 18 import de.intevation.flys.artifacts.model.WQKms;
19 import de.intevation.flys.artifacts.model.CalculationResult; 19 import de.intevation.flys.artifacts.model.CalculationResult;
20 20
21 import de.intevation.flys.artifacts.resources.Resources; 21 import de.intevation.flys.artifacts.resources.Resources;
22 22
23 import de.intevation.flys.utils.FLYSUtils;
23 24
24 /** 25 /**
25 * The final state that will be reached after the discharge curve calculation 26 * The final state that will be reached after the discharge curve calculation
26 * mode has been chosen. 27 * mode has been chosen.
27 * 28 *
57 58
58 if (facets != null && wqkms.length > 0) { 59 if (facets != null && wqkms.length > 0) {
59 for (int i = 0; i < wqkms.length; ++i) { 60 for (int i = 0; i < wqkms.length; ++i) {
60 61
61 Object[] args = new Object[] { 62 Object[] args = new Object[] {
62 winfo.getRiver().getName(), 63 FLYSUtils.getRiver(winfo).getName(),
63 wqkms[i].getName() 64 wqkms[i].getName()
64 }; 65 };
65 66
66 String name = Resources.getMsg( 67 String name = Resources.getMsg(
67 context.getMeta(), 68 context.getMeta(),

http://dive4elements.wald.intevation.org