changeset 4980:e70ff0a600a3

flys-client: Whitespace and doc cosemtics.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 14 Feb 2013 09:29:51 +0100
parents 4c76c5f69eaf
children 0e6e44e6725f
files flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/RiverInfoPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeListGrid.java flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java
diffstat 10 files changed, 25 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSWorkspace.java	Thu Feb 14 09:29:51 2013 +0100
@@ -33,15 +33,16 @@
     /** The number of pixels used to move windows.*/
     public static int WINDOW_OFFSET = 20;
 
-
     /** A map that contains the open CollectionViews. */
     protected Map<String, CollectionView> views;
 
     /** The interface that provides the message resources. */
     private FLYSConstants MESSAGES = GWT.create(FLYSConstants.class);
 
+    /** Application instance. */
     private FLYS flys;
 
+
     /**
      * The default constructor creates an empty FLYSWorkspace with no
      * CollectionViews opened.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java	Thu Feb 14 09:29:51 2013 +0100
@@ -343,12 +343,12 @@
         setLocationValues(selected);
     }
 
+
     /**
      * Returns the label string for the input panel.
      */
     protected String getLabelString() {
         return MSG.location();
     }
-
 }
 // 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/RiverInfoPanel.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/RiverInfoPanel.java	Thu Feb 14 09:29:51 2013 +0100
@@ -14,14 +14,11 @@
 import de.intevation.flys.client.shared.model.RiverInfo;
 
 /**
+ * Panel to display information about a river.
  * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
  */
 public class RiverInfoPanel extends HorizontalPanel {
 
-    /**
-     * Panel to display information about a river
-     */
-
     /** The message class that provides i18n strings.*/
     protected FLYSConstants MSG = GWT.create(FLYSConstants.class);
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemeNavigationPanel.java	Thu Feb 14 09:29:51 2013 +0100
@@ -28,10 +28,8 @@
     public static final int BUTTON_MARGIN = 5;
     private static final int BOTTON_WIDTH = 20;
 
-
     protected FLYSConstants MSG = GWT.create(FLYSConstants.class);
 
-
     protected List<OnMoveHandler> handlers;
 
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualDatePointsEditor.java	Thu Feb 14 09:29:51 2013 +0100
@@ -404,3 +404,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/stationinfo/GaugeListGrid.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugeListGrid.java	Thu Feb 14 09:29:51 2013 +0100
@@ -254,7 +254,7 @@
     }
 
     /**
-     * Open Gauge entry if a location fits to the gauge
+     * Open Gauge entry if a location fits to the gauge.
      */
     public void openOnLocations(List<Double> locations) {
         GWT.log("GaugeListGrid - openOnLocations " + locations);
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/GaugePanel.java	Thu Feb 14 09:29:51 2013 +0100
@@ -29,7 +29,7 @@
     }
 
     /**
-     * Loads the river info and renders it afterwards
+     * Loads the river info and renders it afterwards.
      */
     public void refresh() {
         contract();
@@ -48,5 +48,4 @@
             }
         });
     }
-
 }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/stationinfo/InfoPanel.java	Thu Feb 14 09:29:51 2013 +0100
@@ -54,7 +54,7 @@
     }
 
     /**
-     * Sets and loads the river data if river is not the current set river
+     * Sets and loads the river data if river is not the current set river.
      */
     public void setRiver(String river) {
         if (!river.equals(this.river)) {
@@ -64,7 +64,7 @@
     }
 
     /**
-     * Sets the data and closes not corresponding folds in the gauge tree
+     * Sets the data and closes not corresponding folds in the gauge tree.
      */
     public void setData(DataList[] data) {
         this.listgrid.setData(data);
@@ -121,14 +121,14 @@
     }
 
     /**
-     * Expands the gauge section
+     * Expands the gauge section.
      */
     public void expand() {
         section.setExpanded(true);
     }
 
     /**
-     * Contracts/shrinks the expanded gauge section
+     * Contracts/shrinks the expanded gauge section.
      */
     public void contract() {
         section.setExpanded(false);
--- a/flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/WQInfoServiceImpl.java	Thu Feb 14 09:29:51 2013 +0100
@@ -37,7 +37,6 @@
     private static final Logger logger =
         Logger.getLogger(WQInfoServiceImpl.class);
 
-
     public static final String ERROR_NO_WQINFO_FOUND =
         "error_no_wqinfo_found";
 
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java	Mon Feb 11 15:29:30 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeInfo.java	Thu Feb 14 09:29:51 2013 +0100
@@ -8,69 +8,69 @@
 public interface GaugeInfo extends Serializable {
 
     /**
-     * Returns the name of the gauge
+     * Returns the name of the gauge.
      */
     String getName();
 
     /**
-     * Returns the start KM of the gauge or null if not available
+     * Returns the start KM of the gauge or null if not available.
      */
     Double getKmStart();
 
     /**
-     * Returns the end KM of the gauge or null if not available
+     * Returns the end KM of the gauge or null if not available.
      */
     Double getKmEnd();
 
     /**
-     * Returns the mimimum Q value at this gauge or null if not available
+     * Returns the mimimum Q value at this gauge or null if not available.
      */
     Double getMinQ();
 
     /**
-     * Returns the maximum Q value at this gauge or null if not available
+     * Returns the maximum Q value at this gauge or null if not available.
      */
     Double getMaxQ();
 
     /**
-     * Returns the mimimum W value at this gauge or null if not available
+     * Returns the mimimum W value at this gauge or null if not available.
      */
     Double getMinW();
 
     /**
-     * Returns the maximim W value at this gauge or null if not available
+     * Returns the maximim W value at this gauge or null if not available.
      */
     Double getMaxW();
 
     /**
-     * Returns the datum value or null if not available
+     * Returns the datum value or null if not available.
      */
     Double getDatum();
 
     /**
-     * Returns the aeo value or null if not available
+     * Returns the aeo value or null if not available.
      */
     Double getAeo();
 
     boolean isKmUp();
 
     /**
-     * Returns the station km of the gauge or null if not available
+     * Returns the station km of the gauge or null if not available.
      */
     Double getStation();
 
     /**
-     * Returns the wst unit as a String
+     * Returns the wst unit as a String.
      */
     String getWstUnit();
 
     /**
-     * Returns the official number of this gauge
+     * Returns the official number of this gauge.
      */
     Long getOfficialNumber();
 
     /**
-     * Returns the river to which this gauge belongs
+     * Returns the river to which this gauge belongs.
      */
     String getRiverName();
 }

http://dive4elements.wald.intevation.org