changeset 5738:54077c9c9305

Backend: Fix Stack overflow.
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 16 Apr 2013 18:55:52 +0200
parents ce002608992d
children 9950cbb7dba3
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java	Tue Apr 16 18:50:45 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/StaFileParser.java	Tue Apr 16 18:55:52 2013 +0200
@@ -320,7 +320,7 @@
             char c = s.charAt(index);
             switch (c) {
                 case '(':
-                    index = unbracket(s, index, result);
+                    index = unbracket(s, index+1, result);
                     break;
                 case ')':
                     result.add(0, sb.toString());

http://dive4elements.wald.intevation.org