[Dive4elements-commits] [PATCH 8 of 8] WaterlevelDifferencesParser: Doc and cosmetics

Wald Commits scm-commit at wald.intevation.org
Tue Mar 12 09:34:37 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1363077608 -3600
# Node ID d1e24f26dee095c4da2d4a177e1f9d0bdf9d9bd8
# Parent  37ff7c030ec9c0e52d08716b335e8f5d5e7a20cd
WaterlevelDifferencesParser: Doc and cosmetics.

diff -r 37ff7c030ec9 -r d1e24f26dee0 flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelDifferencesParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelDifferencesParser.java	Tue Mar 12 09:39:53 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelDifferencesParser.java	Tue Mar 12 09:40:08 2013 +0100
@@ -54,11 +54,17 @@
         return differences;
     }
 
+
+    // TODO deprecate
     public List<ImportWst> exportWsts() {
         return differences;
     }
 
 
+    /**
+     * Parse a csv waterleveldifferenceparser and create a ImportWst object
+     * from it.
+     */
     @Override
     public void parse(File file) throws IOException {
         current = new ImportWst(file.getName());
@@ -68,6 +74,7 @@
     }
 
 
+    /** No rewind implemented. */
     @Override
     protected void reset() {
     }
@@ -89,6 +96,7 @@
         columns = null;
     }
 
+
     @Override
     protected void handleLine(int lineNum, String line) {
         if (line.startsWith(START_META_CHAR)) {


More information about the Dive4elements-commits mailing list