From e4f0a89d54ffba11d8b9b38afb84bb24ab5509a8 Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 20 Jul 2010 10:56:52 +0000 Subject: [PATCH] CardDav: do not encode simple (not compound) properties git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1222 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/VCardWriter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/java/davmail/exchange/VCardWriter.java b/src/java/davmail/exchange/VCardWriter.java index 1849264e..07e7cce6 100644 --- a/src/java/davmail/exchange/VCardWriter.java +++ b/src/java/davmail/exchange/VCardWriter.java @@ -31,9 +31,7 @@ public class VCardWriter extends ICSBufferedWriter { if ((propertyValue != null) && (propertyValue.length() > 0)) { write(propertyName); write(":"); - StringBuilder valueBuffer = new StringBuilder(); - appendEncodedValue(valueBuffer, propertyValue); - writeLine(valueBuffer.toString()); + writeLine(propertyValue); } }