[Dive4elements-commits] [PATCH 2 of 7] ImportRiver: Doc/Cosmetics
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 24 14:41:45 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366795974 -7200
# Node ID afcad84755f9474231347621e176c15fb8212a90
# Parent 11bcace6f2fe799afeb7876b29faebd4b316cfa6
ImportRiver: Doc/Cosmetics.
diff -r 11bcace6f2fe -r afcad84755f9 flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java Wed Apr 24 11:32:04 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java Wed Apr 24 11:32:54 2013 +0200
@@ -167,7 +167,9 @@
protected River peer;
- /** Callback-implementation for CrossSectionParsers. */
+ /** Callback-implementation for CrossSectionParsers:
+ * Accept files with different md5(?)sums than what has already been parsed,
+ * on successfull parse, add data. */
class ImportRiverCrossSectionParserCallback implements CrossSectionParser.Callback {
Set<HashedFile> files = new HashSet<HashedFile>();
String type;
@@ -194,7 +196,7 @@
/** Add crosssection. */
- public void parsed(CrossSectionParser parser) {
+ public void parsed(CrossSectionParser parser) {
log.debug("callback from " + type + " parser");
addCrossSections(parser);
More information about the Dive4elements-commits
mailing list