changeset 4788:03c824858a40

DA50Parser: Doc, removed and added a TODO.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 08 Jan 2013 17:20:34 +0100
parents 9c1964fe3995
children 0df2247d98e1
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))) {

http://dive4elements.wald.intevation.org