# HG changeset patch # User Felix Wolfsteller # Date 1357220501 -3600 # Node ID e965593eee57121120dee7382ef2b64815693f7d # Parent ce15529f7624774a3c9c19e0b99fdc54d51d764b W80Parser: Whitespace-cosmetics and comment. diff -r ce15529f7624 -r e965593eee57 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:21 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 14:41:41 2013 +0100 @@ -136,6 +136,7 @@ return lastPoint.getIndex(); } + /** * Add a Point (YZ,Index) to the current cross section line. * @param y The y coordinate of new point. @@ -172,6 +173,10 @@ */ @Override protected void handleLine(int lineNum, String line) { + // The 'shore' field shows which side of the river the shore is measured. + // Therefore, the points have to be added in the correct order (also + // because later distances are calculated which cannot be + // negative. String pointId = line.substring(0,20); String station = line.substring(9,16); // TODO: There is 'station' and a 'shore'-code behind.