Mercurial > dive4elements > river
changeset 2726:f53173a8736b
Fixings state access: Added more debug putput
flys-artifacts/trunk@4457 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 22 May 2012 13:08:05 +0000 (2012-05-22) |
parents | 8dbc86a0948d |
children | 7fdfb1770d21 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java |
diffstat | 3 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Tue May 22 12:55:52 2012 +0000 +++ b/flys-artifacts/ChangeLog Tue May 22 13:08:05 2012 +0000 @@ -1,3 +1,11 @@ +2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: + Fixed short evaluation problem. + + * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java: + Added more debuf output. + 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java Tue May 22 12:55:52 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java Tue May 22 13:08:05 2012 +0000 @@ -350,6 +350,9 @@ } function = (String)sd.getValue(); } + if (log.isDebugEnabled()) { + log.debug("function: " + function); + } return function; }
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue May 22 12:55:52 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Tue May 22 13:08:05 2012 +0000 @@ -674,7 +674,7 @@ String input = (String) sd.getValue(); - if (input == null | (input = input.trim()).length() == 0) { + if (input == null || (input = input.trim()).length() == 0) { logger.warn("reference start string is empty."); return null; }