diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java @ 635:acf3b49ec31f

Take the flow direction into account. flys-artifacts/trunk@2010 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 26 May 2011 14:27:06 +0000
parents c21fb8de54f8
children 610d0e0f4f85
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java	Thu May 26 09:41:57 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java	Thu May 26 14:27:06 2011 +0000
@@ -44,9 +44,11 @@
                 "Invalid 'to'. " + to + " is bigger than " + toValid);
             throw new IllegalArgumentException("error_feed_to_out_of_range");
         }
+        /*
         else if (from > to) {
             throw new IllegalArgumentException("error_feed_from_bigger_to");
         }
+        */
 
         return true;
     }

http://dive4elements.wald.intevation.org