Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java @ 9481:787fc085459b
TSV introduced; uinfo.inundationWMS-Config
author | gernotbelger |
---|---|
date | Wed, 12 Sep 2018 10:55:09 +0200 |
parents | f692f5a0536a |
children | 63bbd5e45839 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java Mon Sep 10 17:06:23 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/CalculationSelectUinfo.java Wed Sep 12 10:55:09 2018 +0200 @@ -19,7 +19,7 @@ import org.dive4elements.artifacts.common.utils.XMLUtils; import org.dive4elements.river.artifacts.resources.Resources; import org.dive4elements.river.artifacts.states.DefaultState; -import org.dive4elements.river.artifacts.uinfo.inundationduration.UedauernPropertiesHelper; +import org.dive4elements.river.artifacts.uinfo.inundationduration.UedauernConfiguration; import org.w3c.dom.Element; /** @@ -60,11 +60,9 @@ if (calcmode.equals("uinfo_inundation_duration")) { final String river = uinfo.getRiver(); - if (!UedauernPropertiesHelper.fileExistsForRiver(river)) { + if (!UedauernConfiguration.filesExistsForRiver(river)) throw new IllegalArgumentException("error_no_data_for_river"); - } } - return true; } } \ No newline at end of file