[Dive4elements-commits] [PATCH 2 of 2] issue1313: Prevent double skip when looking at the first lines of a prf file
Wald Commits
scm-commit at wald.intevation.org
Wed Jun 26 16:28:05 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1372257390 -7200
# Node ID f3078357ec65ada2af3a71fd70c260d31c3e5ce0
# Parent 216ea53b77b3e4484f8a7d641c3f2fda4071e4c0
issue1313: Prevent double skip when looking at the first lines of a prf file.
diff -r 216ea53b77b3 -r f3078357ec65 backend/src/main/java/org/dive4elements/river/importer/parsers/PRFParser.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/PRFParser.java Wed Jun 26 15:09:33 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/PRFParser.java Wed Jun 26 16:36:30 2013 +0200
@@ -342,7 +342,7 @@
return false;
}
- int skip = lineSkipCount;
+ int skip = 0;
while ((line = in.readLine()) != null) {
// Expecting dummy lines.
More information about the Dive4elements-commits
mailing list