X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.enterprise%2Fsrc%2Forg%2Fargeo%2Futil%2FLangUtils.java;h=16229453776e04ed968457183aa225fd578d6c0a;hb=35ba2254032b9ba0cf54fa542127818d235ac557;hp=5a5b4b7d856568cc353f88556bc10d137656bf35;hpb=9bb539884580853f3cc5e9fb9f923baf00c7db6e;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.enterprise/src/org/argeo/util/LangUtils.java b/org.argeo.enterprise/src/org/argeo/util/LangUtils.java index 5a5b4b7d8..162294537 100644 --- a/org.argeo.enterprise/src/org/argeo/util/LangUtils.java +++ b/org.argeo.enterprise/src/org/argeo/util/LangUtils.java @@ -207,9 +207,9 @@ public class LangUtils { * COLLECTIONS */ /** - * Convert a comma-separated or carrirer-return sperated {@link String} or a - * {@link String} array to a {@link List} of {@link String}, trimming them. - * Useful to quickly interpret OSGi services properties. + * Convert a comma-separated separated {@link String} or a {@link String} array + * to a {@link List} of {@link String}, trimming them. Useful to quickly + * interpret OSGi services properties. * * @return a {@link List} containing the trimmed {@link String}s, or an empty * {@link List} if the argument was null. @@ -220,7 +220,7 @@ public class LangUtils { return values; String[] arr; if (value instanceof String) { - arr = ((String) value).split(",\n"); + arr = ((String) value).split(","); } else if (value instanceof String[]) { arr = (String[]) value; } else {