X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2FBaseClass.java;h=932337671d939885f10157769f258ba4ed73c563;hp=026c5b43c0951a02ceb69e3bbda049be4303945c;hb=99f631de95f8b89bd716b8c4011308fc1aacaeaf;hpb=7671a2499e6f0d6c8e0765b36c18c1e89bc457c5 diff --git a/src/be/nikiroo/jvcard/BaseClass.java b/src/be/nikiroo/jvcard/BaseClass.java index 026c5b4..9323376 100644 --- a/src/be/nikiroo/jvcard/BaseClass.java +++ b/src/be/nikiroo/jvcard/BaseClass.java @@ -450,20 +450,19 @@ public abstract class BaseClass> implements List { } /** - * 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"); } /**