comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 738:5abdb2fa8eb1

Fix for flys/issue147 flys-artifacts/trunk@2234 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 26 Jun 2011 14:46:48 +0000
parents db68806e6563
children e54203e52097
comparison
equal deleted inserted replaced
737:6b38b8488401 738:5abdb2fa8eb1
770 */ 770 */
771 public boolean isFreeQ() { 771 public boolean isFreeQ() {
772 StateData mode = getData("wq_free"); 772 StateData mode = getData("wq_free");
773 String value = mode != null ? (String) mode.getValue() : null; 773 String value = mode != null ? (String) mode.getValue() : null;
774 774
775 if (mode == null) { 775 logger.debug("isFreeQ: " + value);
776
777 if (value == null) {
776 return false; 778 return false;
777 } 779 }
778 780
779 return Boolean.valueOf(value); 781 return Boolean.valueOf(value);
780 } 782 }

http://dive4elements.wald.intevation.org