[Dive4elements-commits] [PATCH 1 of 3] Minimal whitespace and doc cosmetics
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 19 11:52:15 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1361184567 -3600
# Node ID 255898799ed9b8f636442e0b0f2a8032face4ab8
# Parent 7c8ce0a95a6462d47d355cdd3d884d6eed40ab24
Minimal whitespace and doc cosmetics.
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java Mon Feb 18 11:49:27 2013 +0100
@@ -46,6 +46,7 @@
/** Import all river-related data (files) that can be found. */
public class ImportRiver
{
+ /** Private logger. */
private static Logger log = Logger.getLogger(ImportRiver.class);
public static final String PEGEL_GLT = "PEGEL.GLT";
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportWaterlevelQRange.java Mon Feb 18 11:49:27 2013 +0100
@@ -18,7 +18,6 @@
private static final Logger log =
Logger.getLogger(ImportWaterlevelQRange.class);
-
private Double q;
private List<ImportWaterlevelValue> values;
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/Importer.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/Importer.java Mon Feb 18 11:49:27 2013 +0100
@@ -20,9 +20,10 @@
import org.w3c.dom.Document;
-/** Data Importer. */
+/** Data Importer. Further processing happens per-river. */
public class Importer
{
+ /** Private logger. */
private static Logger log = Logger.getLogger(Importer.class);
protected List<ImportRiver> rivers;
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/parsers/InfoGewParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/InfoGewParser.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/InfoGewParser.java Mon Feb 18 11:49:27 2013 +0100
@@ -57,7 +57,7 @@
return f.replace("\\", "/").replace("/", File.separator);
}
- /* Handle a gew, wst, or bb_info file. */
+ /** Handle a gew, wst, or bb_info file. */
public void parse(File file) throws IOException {
LineNumberReader in = null;
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/parsers/MorphologicalWidthParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/MorphologicalWidthParser.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/MorphologicalWidthParser.java Mon Feb 18 11:49:27 2013 +0100
@@ -22,14 +22,11 @@
private static final Logger log =
Logger.getLogger(MorphologicalWidthParser.class);
-
public static final NumberFormat nf = NumberFormat.getInstance(DEFAULT_LOCALE);
-
public static final Pattern META_UNIT =
Pattern.compile("^Einheit: \\[(.*)\\].*");
-
protected List<ImportMorphWidth> morphWidths;
protected ImportMorphWidth current;
diff -r 7c8ce0a95a64 -r 255898799ed9 flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java Mon Feb 18 16:33:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java Mon Feb 18 11:49:27 2013 +0100
@@ -30,7 +30,6 @@
public static final Pattern META_UNIT =
Pattern.compile("^Einheit: \\[(.*)\\].*");
-
private List<ImportWaterlevel> waterlevels;
private ImportWaterlevel current;
More information about the Dive4elements-commits
mailing list