changeset 4785:522b424c9c2a

CrossSectionApp: Doc and whitespace cosmetics.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 08 Jan 2013 12:33:27 +0100
parents 170cf87a042a
children 9a00be1acaee
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java	Tue Jan 08 12:31:21 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java	Tue Jan 08 12:33:27 2013 +0100
@@ -79,6 +79,7 @@
 import org.jfree.ui.ApplicationFrame;
 import org.jfree.ui.RefineryUtilities;
 
+
 /**
  * Standalone tech-demo.
  */
@@ -236,9 +237,10 @@
         JPanel content = createContent();
         content.setPreferredSize(new Dimension(800, 480));
         setContentPane(content);
-
     }
 
+
+    /** Query and return CrossSections for named river. */
     public List<CrossSection> crossSections(String river) {
         Query query = session.createQuery(
             "from CrossSection where river.name = :river");
@@ -269,7 +271,6 @@
     public JPanel createContent() {
         JPanel panel = new JPanel(new BorderLayout());
 
-
         JPanel nav = new JPanel(new FlowLayout());
 
         crossSections = crossSections(RIVER);
@@ -419,7 +420,6 @@
             return;
         }
 
-
         double km = Math.round(csli.km.doubleValue() * 1000d)/1000d;
 
         String kmS = String.valueOf(km).replace(".", "-");

http://dive4elements.wald.intevation.org