From 996614b19d77d87952496b836252469ef5f8d85d Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 3 Apr 2013 11:01:34 -0700 Subject: [PATCH] Minor memory optimization --- .../plugin-src/com/todoroo/astrid/actfm/sync/ActFmInvoker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmInvoker.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmInvoker.java index 83a527294..7da0a15b9 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmInvoker.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmInvoker.java @@ -206,7 +206,7 @@ public class ActFmInvoker { if (SYNC_DEBUG) Log.e("act-fm-post", request); entity.addPart("token", new StringBody(tok)); - entity.addPart("data", new StringBody(data.toString())); + entity.addPart("data", new StringBody(dataString)); entity.addPart("time", new StringBody(timeString)); String response = restClient.post(request, entity);