# HG changeset patch # User Felix Wolfsteller # Date 1356621255 -3600 # Node ID 83304d3651ec21211a09927d96488228e2388c3a # Parent c3e2b0d343dc5c2e666dbfbd41cbec8c89bc7ed8 DA66Parser: Whitespace cosmetics. diff -r c3e2b0d343dc -r 83304d3651ec flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java --- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Thu Dec 27 13:20:19 2012 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Thu Dec 27 16:14:15 2012 +0100 @@ -58,6 +58,7 @@ ); //Pattern.compile("^([0-9 -]{2})"); + /** Indices to match group of main regex. */ private static enum FIELD { HEAD ( 1), @@ -87,6 +88,7 @@ } } + /** Header lines of da66 can define a type. */ private static enum Type { DATE ( 0), @@ -140,12 +142,15 @@ } } + /** Available types. */ private static HashMap typeMap; + /** Types we can deal with. */ private static List implementedTypes; + static { typeMap = new HashMap(); for (Type t: Type.values()) {