Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.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 | d4108d6c4000 |
children | 4eccd72595ee |
comparison
equal
deleted
inserted
replaced
7260:0b32f8980fed | 7261:a56fe3bc6700 |
---|---|
36 } | 36 } |
37 | 37 |
38 public CalculationResult calculate(BedDifferencesAccess access, CallContext context) { | 38 public CalculationResult calculate(BedDifferencesAccess access, CallContext context) { |
39 logger.info("BedDiffCalculation.calculate"); | 39 logger.info("BedDiffCalculation.calculate"); |
40 | 40 |
41 String river = access.getRiver(); | 41 String river = access.getRiverName(); |
42 String yearEpoch = access.getYearEpoch(); | 42 String yearEpoch = access.getYearEpoch(); |
43 int [][] heightIds = access.extractHeightIds(context); | 43 int [][] heightIds = access.extractHeightIds(context); |
44 | 44 |
45 if (river == null) { | 45 if (river == null) { |
46 // TODO: i18n | 46 // TODO: i18n |