Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java @ 9191:f692f5a0536a
sinfo.collisions review
author | gernotbelger |
---|---|
date | Thu, 28 Jun 2018 15:57:40 +0200 |
parents | dace17e26d33 |
children | 787fc085459b |
comparison
equal
deleted
inserted
replaced
9190:0633f963c5be | 9191:f692f5a0536a |
---|---|
59 final String calcmode = uinfo.getCalculationMode().toString(); // "toString()" is important | 59 final String calcmode = uinfo.getCalculationMode().toString(); // "toString()" is important |
60 if (calcmode.equals("uinfo_inundation_duration")) { | 60 if (calcmode.equals("uinfo_inundation_duration")) { |
61 | 61 |
62 final String river = uinfo.getRiver(); | 62 final String river = uinfo.getRiver(); |
63 if (!UedauernPropertiesHelper.fileExistsForRiver(river)) { | 63 if (!UedauernPropertiesHelper.fileExistsForRiver(river)) { |
64 throw new IllegalArgumentException("error_river_inundationdur_file_not_found"); | 64 throw new IllegalArgumentException("error_no_data_for_river"); |
65 } | 65 } |
66 } | 66 } |
67 | 67 |
68 return true; | 68 return true; |
69 } | 69 } |