[MXD2map-commits] r312:503d3a453a04
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Mon Sep 17 17:10:48 CEST 2012
details: http://hg.intevation.org/geospatial/mxd2map/rev/503d3a453a04
changeset: 312:503d3a453a04
user: Andre Heinecke <aheinecke at intevation.de>
date: Fri Sep 14 17:03:15 2012 +0200
description:
Check for isEmpty instead of comparing with ""
Comparison failed for me when a linebreak was set in properties
diffstat:
src/java/de/intevation/mxd/reader/MXDReader.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r c8b8f887ef80 -r 503d3a453a04 src/java/de/intevation/mxd/reader/MXDReader.java
--- a/src/java/de/intevation/mxd/reader/MXDReader.java Fri Sep 14 11:54:03 2012 +0200
+++ b/src/java/de/intevation/mxd/reader/MXDReader.java Fri Sep 14 17:03:15 2012 +0200
@@ -136,7 +136,7 @@
public boolean read()
throws Exception {
logger.debug("read()");
- if(filename == "") {
+ if(filename.isEmpty()) {
throw new IOException("Please set filename!");
}
else {
More information about the MXD2map-commits
mailing list