[Schmitzm-commits] r1668 - trunk/schmitzm-core/src/main/java/de/schmitzm/lang
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 8 17:52:40 CEST 2011
Author: alfonx
Date: 2011-08-08 17:52:39 +0200 (Mon, 08 Aug 2011)
New Revision: 1668
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
Log:
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2011-08-08 14:21:35 UTC (rev 1667)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2011-08-08 15:52:39 UTC (rev 1668)
@@ -1773,7 +1773,7 @@
public static Boolean parseStringDefaultNull(String str) {
if (str == null)
return null;
- String trimmedLowcase = removeWhitespacesToEmpty(str.toLowerCase());
+ String trimmedLowcase = removeWhitespacesToEmpty(str.toLowerCase()).trim();
if (trimmedLowcase.startsWith("n"))
return false;
if (trimmedLowcase.startsWith("0"))
More information about the Schmitzm-commits
mailing list