[Schmitzm-commits] r1797 - trunk/schmitzm-core/src/main/java/de/schmitzm/lang
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sun Nov 27 01:45:56 CET 2011
Author: alfonx
Date: 2011-11-27 01:45:49 +0100 (Sun, 27 Nov 2011)
New Revision: 1797
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
Log:
one more little NPE check
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2011-11-26 20:29:09 UTC (rev 1796)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2011-11-27 00:45:49 UTC (rev 1797)
@@ -525,6 +525,7 @@
* aneinanderzuhaengende Stings als Liste
*/
public static String stringConcatWithSep(String sep, Collection<? extends Object> list) {
+ if (list == null) return "";
return stringConcatWithSep(sep, null, list.toArray());
}
More information about the Schmitzm-commits
mailing list