From 7ef86a677e50d80d7e976ee05989b240a7c65e31 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 19 Jun 2009 14:46:24 +0000 Subject: [PATCH] Monotone-Parent: 2af1a4a61509de5048a17987479e677756dc2134 Monotone-Revision: e08bf029e9ee41f43a434bea4375594adea34f97 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-19T14:46:24 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/NSDictionary+DAV.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SoObjects/SOGo/NSDictionary+DAV.m b/SoObjects/SOGo/NSDictionary+DAV.m index 8fbbc6027..4b8904e81 100644 --- a/SoObjects/SOGo/NSDictionary+DAV.m +++ b/SoObjects/SOGo/NSDictionary+DAV.m @@ -54,6 +54,8 @@ return newTag; } +#warning this method could probably be optimized to speedup the rendering\ + of thousands of records - (NSString *) asWebDavStringWithNamespaces: (NSMutableDictionary *) namespaces { @@ -75,6 +77,7 @@ nsTag = [namespaces objectForKey: ns]; if (!nsTag) nsTag = [self _newTagInNamespaces: namespaces forNS: ns]; + element = [NSString stringWithFormat: @"%@:%@", nsTag, [self objectForKey: @"method"]]; [webdavString appendFormat: @"<%@", element];