changeset 3354:22f39c2d7a72

Cosmetic compression. flys-client/trunk@5037 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 18 Jul 2012 12:34:05 +0000
parents 08f8524a81ad
children dab808e5f516
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jul 18 12:12:46 2012 +0000
+++ b/flys-client/ChangeLog	Wed Jul 18 12:34:05 2012 +0000
@@ -1,3 +1,9 @@
+2012-07-18	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java,
+	  src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java:
+	  Cosmetic compression.
+
 2012-07-18  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/CollectionView.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java	Wed Jul 18 12:12:46 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.java	Wed Jul 18 12:34:05 2012 +0000
@@ -203,12 +203,8 @@
             public void onBlur(BlurEvent e) {
                  DoubleValidator validator = new DoubleValidator();
                  Map errors = e.getForm().getErrors();
-                 if(validator.validate(e.getItem(), errors)) {
-                     e.getForm().setErrors(errors, true);
-                 }
-                 else {
-                     e.getForm().setErrors(errors, true);
-                 }
+                 validator.validate(e.getItem(), errors);
+                 e.getForm().setErrors(errors, true);
             }
         });
         nameInputPanel = new TextItem();

http://dive4elements.wald.intevation.org