Mercurial > dive4elements > river
changeset 5806:afcad84755f9
ImportRiver: Doc/Cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Apr 2013 11:32:54 +0200 |
parents | 11bcace6f2fe |
children | b9ae676a9afe |
files | flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);