Fix javadoc.
[lgpl/argeo-commons.git] / org.argeo.enterprise / src / org / argeo / util / LangUtils.java
index 5a5b4b7d856568cc353f88556bc10d137656bf35..16229453776e04ed968457183aa225fd578d6c0a 100644 (file)
@@ -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 <code>null</code>.
@@ -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 {