changeset 3954:ffb2aac9a5b6

Cosmetics, docs. flys-backend/trunk@5611 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 27 Sep 2012 10:16:49 +0000
parents fc32a4955087
children 26685b846a29
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Thu Sep 27 10:15:10 2012 +0000
+++ b/flys-backend/ChangeLog	Thu Sep 27 10:16:49 2012 +0000
@@ -1,3 +1,9 @@
+2012-09-27  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java,
+	  src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java:
+	  Cosmetics, docs.
+
 2012-09-27  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	Towards fix for issue863 (data gaps in bed height single values).
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java	Thu Sep 27 10:15:10 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingleValue.java	Thu Sep 27 10:16:49 2012 +0000
@@ -55,6 +55,10 @@
     }
 
 
+    /**
+     * Add this value to database or return database bound Value, assuring
+     * that the BedHeightSingle exists in db already.
+     */
     public BedHeightSingleValue getPeer(BedHeightSingle bedHeight) {
         if (peer == null) {
             Session session = ImporterSession.getInstance().getDatabaseSession();
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Thu Sep 27 10:15:10 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Thu Sep 27 10:16:49 2012 +0000
@@ -84,6 +84,7 @@
 
     protected abstract ImportBedHeight newImportBedHeight(String description);
 
+    /** Handle a line of file that contains data (in contrast to comments, meta). */
     protected abstract void handleDataLine(
         ImportBedHeight importBedHeight,
         String          line

http://dive4elements.wald.intevation.org