Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadUnknownFacet.java @ 7261:a56fe3bc6700
Refactoring: Let RiverAccess.getRiver return an River.
Renamed getRiver in getRiverName. Update Callers.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 08 Oct 2013 14:50:58 +0200 |
parents | 91c43293e538 |
children | b468dc65154a |
comparison
equal
deleted
inserted
replaced
7260:0b32f8980fed | 7261:a56fe3bc6700 |
---|---|
30 logger.debug("Get data for sediment load at index: " + index); | 30 logger.debug("Get data for sediment load at index: " + index); |
31 | 31 |
32 D4EArtifact flys = (D4EArtifact) artifact; | 32 D4EArtifact flys = (D4EArtifact) artifact; |
33 | 33 |
34 SedimentLoadAccess access = new SedimentLoadAccess(flys); | 34 SedimentLoadAccess access = new SedimentLoadAccess(flys); |
35 String river = access.getRiver(); | 35 String river = access.getRiverName(); |
36 String unit = access.getUnit(); | 36 String unit = access.getUnit(); |
37 SedimentLoad[] unknown = | 37 SedimentLoad[] unknown = |
38 SedimentLoadFactory.getSedimentLoadUnknown( | 38 SedimentLoadFactory.getSedimentLoadUnknown( |
39 river, | 39 river, |
40 unit.replace("_per_","/"), | 40 unit.replace("_per_","/"), |