Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation4.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 | fe32a7f9655e |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7260:0b32f8980fed | 7261:a56fe3bc6700 |
---|---|
45 public Calculation4() { | 45 public Calculation4() { |
46 } | 46 } |
47 | 47 |
48 public Calculation4(Calculation4Access access) { | 48 public Calculation4(Calculation4Access access) { |
49 logger.debug("Calculation4Access.cnst"); | 49 logger.debug("Calculation4Access.cnst"); |
50 String river = access.getRiver(); | 50 String river = access.getRiverName(); |
51 List<Segment> segments = access.getSegments(); | 51 List<Segment> segments = access.getSegments(); |
52 double [] range = access.getFromToStep(); | 52 double [] range = access.getFromToStep(); |
53 boolean isQ = access.isQ(); | 53 boolean isQ = access.isQ(); |
54 | 54 |
55 if (river == null) { | 55 if (river == null) { |