# HG changeset patch # User Felix Wolfsteller # Date 1342614845 0 # Node ID 22f39c2d7a720a7db6e9f62eaaae352803aaf255 # Parent 08f8524a81ad42ca2bca2dbd9eac307e42732c5f Cosmetic compression. flys-client/trunk@5037 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 08f8524a81ad -r 22f39c2d7a72 flys-client/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: diff -r 08f8524a81ad -r 22f39c2d7a72 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualWSPEditor.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();