Fix: default FN should be trimmed
[jvcard.git] / src / be / nikiroo / jvcard / BaseClass.java
index 026c5b43c0951a02ceb69e3bbda049be4303945c..932337671d939885f10157769f258ba4ed73c563 100644 (file)
@@ -450,20 +450,19 @@ public abstract class BaseClass<E extends BaseClass<?>> implements List<E> {
        }
 
        /**
-        * Escape the given value to VCF standard.
+        * Unescape the given value from the VCF standard.
         * 
         * @param value
-        *            the value to escape
+        *            the value to unescape
         * 
-        * @return the escaped value
+        * @return the unescaped value
         */
        protected String unescape(String value) {
                if (value == null)
                        return null;
 
                return value.replaceAll("\\\\,", ",").replaceAll("\\\\;", ";")
-
-               .replaceAll("\\\\n", "\n");
+                               .replaceAll("\\\\n", "\n");
        }
 
        /**