changeset 4803:94cb955234ab

W80Parser: Renamed lastPointIdx() to getLastPointIdx().
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 16 Jan 2013 11:19:41 +0100
parents 7dd5baca4f53
children e9566109bd5b
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 {

http://dive4elements.wald.intevation.org