changeset 3351:24e9b5eb83f8

Cosmetics. flys-client/trunk@5033 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 18 Jul 2012 09:56:24 +0000
parents e746e57c65c0
children 2f533220af1c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java flys-client/src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java
diffstat 4 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jul 18 08:22:17 2012 +0000
+++ b/flys-client/ChangeLog	Wed Jul 18 09:56:24 2012 +0000
@@ -1,3 +1,10 @@
+2012-07-18	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java,
+	  src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java,
+	  src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java:
+	  Cosmetics.
+
 2012-07-18	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/auth/DefaultUser.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java	Wed Jul 18 08:22:17 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java	Wed Jul 18 09:56:24 2012 +0000
@@ -20,6 +20,7 @@
     private UIProviderFactory() {
     }
 
+    /** @param uiProvider uiprovider demanded for by state. */
     public static UIProvider getProvider(String uiProvider, User user) {
         if (uiProvider == null || uiProvider.equals("")) {
             return new SelectProvider();
@@ -122,3 +123,5 @@
         }
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
+
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Wed Jul 18 08:22:17 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Wed Jul 18 09:56:24 2012 +0000
@@ -88,7 +88,6 @@
 
     public static final int WIDTH_LEFT_LOWER = 223;
 
-
     /** The container that manages the w and q panels.*/
     protected HLayout container;
 
@@ -480,7 +479,7 @@
      * Initializes the single values of W or Q from DataList.
      *
      * @param list The DataList that contains the 'wq_single' object.
-     * @param theMode The W or Q mode.
+     * @param isQ W or Q mode?
      */
     protected void initUserSingleValues(DataList list, boolean isQ) {
         List<Data> allData = list.getAll();
@@ -521,7 +520,7 @@
      * Initializes the range values of W or Q from DataList.
      *
      * @param list The DataList that contains the 'wq_single' object.
-     * @param theMode The W or Q mode.
+     * @param isQ W or Q mode?
      */
     protected void initUserRangeValues(DataList list, boolean isQ) {
         List<Data> allData = list.getAll();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java	Wed Jul 18 08:22:17 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/utils/DoubleValidator.java	Wed Jul 18 09:56:24 2012 +0000
@@ -43,8 +43,10 @@
 
     }
 
+
     /**
-     *
+     * @return true if items value can be converted to double, if false,
+     *         expect error message in \param errors map.
      */
     public boolean validate(FormItem item, Map errors) {
         boolean valid = true;
@@ -75,4 +77,5 @@
         return valid;
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
 

http://dive4elements.wald.intevation.org