# HG changeset patch # User Felix Wolfsteller # Date 1357220481 -3600 # Node ID ce15529f7624774a3c9c19e0b99fdc54d51d764b # Parent ba8c2147b4ff4568e75105a74cd76747dcbeac15 W80Parser: Remove unneeded code. diff -r ba8c2147b4ff -r ce15529f7624 flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java --- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 14:41:02 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 14:41:21 2013 +0100 @@ -29,24 +29,6 @@ /** Private logger. */ private static Logger logger = Logger.getLogger(W80Parser.class); - /** Regex to match lines of files in da66 format. */ - private static final Pattern LINE_PATTERN = - Pattern.compile("[\\p{Alnum} ]{20}" + // ID - "[0-9 ]{10} " + // GK-right - "[0-9 ]{10} " + // GK-left - "[0-9 ]{6} " + // date - "[0-9 ]{1} " + // kind of exactness of measurement - "[0-9 ]{7} " + // height - "[0-9 ]{6} " + // date of height - "[0-9 ]{1} " + // kind of exactness of height-measurement - "[0-9 ]{3} " + // kind (only for NIV-points) - "[\\p{Alnum} ]{6} " + // date of point decline - "[\\p{Alnum} ]{8} " + // note for point - "[0-9 ]{2} " // actuality - ); - - // TODO define headers regex, use regex or remove it. - /** The current line to which add points. */ private List currentLine;