[Dive4elements-commits] [PATCH 2 of 3] W80Parser: Renamed lastPointIdx() to getLastPointIdx()
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 16 11:23:15 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1358331581 -3600
# Node ID 94cb955234abc52ba33b12aa8e301bc96b5063ab
# Parent 7dd5baca4f53a1a55f6a66d1d4a83e5b756e28f3
W80Parser: Renamed lastPointIdx() to getLastPointIdx().
diff -r 7dd5baca4f53 -r 94cb955234ab 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 Wed Jan 16 10:11:06 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Wed Jan 16 11:19:41 2013 +0100
@@ -141,7 +141,7 @@
* Get the Index of the last cross-section lines point.
* @return last points index, -1 if not available.
*/
- private int lastPointIdx() {
+ private int getLastPointIdx() {
if (currentLine == null || currentLine.isEmpty()) {
return -1;
}
@@ -167,7 +167,7 @@
// We ignore idx, and increment instead.
int index;
- int lastPointIdx = lastPointIdx();
+ int lastPointIdx = getLastPointIdx();
if (lastPointIdx <= 0) {
index = 1;
} else {
More information about the Dive4elements-commits
mailing list