Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/AtFileParser.java @ 762:23fe9ac1c3b4
Fix for flys/issue110: Start index was shifted by one.
flys-backend/trunk@2120 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 14 Jun 2011 17:30:09 +0000 |
parents | ee693b8fbb55 |
children | 6dc847194625 |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/AtFileParser.java Tue Jun 14 13:55:49 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/AtFileParser.java Tue Jun 14 17:30:09 2011 +0000 @@ -109,10 +109,10 @@ * exactly 10 Qs and lines with less than 10 Qs. The shift * is only modified when it is the first line. */ - int shift = 0; + int shift = -1; if (splits.length != 11 && beginning) { - shift = 11 - splits.length; + shift = 10 - splits.length; }