[Dive4elements-commits] [PATCH] DA50Parser: Doc, removed and added a TODO

Wald Commits scm-commit at wald.intevation.org
Tue Jan 8 17:14:34 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1357662034 -3600
# Node ID 03c824858a4049ec10c582258b0d99611b48db19
# Parent  9c1964fe3995afa81ce6751f60c624910b83f4d9
DA50Parser: Doc, removed and added a TODO.

diff -r 9c1964fe3995 -r 03c824858a40 flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java	Tue Jan 08 12:42:23 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java	Tue Jan 08 17:20:34 2013 +0100
@@ -63,12 +63,13 @@
     }
 
 
+    /** Walk a directory tree and attempt parsing all *.d50 files. */
     public void parseDA50s(File root, final Callback callback) {
 
-        // TODO use the removeExtension/guess description and date.
         FileTools.walkTree(root, new FileTools.FileVisitor() {
             @Override
             public boolean visit(File file) {
+                // TODO check presence of TIM file.
                 if (file.isFile() && file.canRead()
                 && file.getName().toLowerCase().endsWith(".d50")
                 && (callback == null || callback.accept(file))) {


More information about the Dive4elements-commits mailing list