1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fixed the parsing of response data for WebDAV requests.

This commit is contained in:
wongk 2011-12-28 14:03:44 -05:00 committed by Jesse Vincent
parent 1799a2ab2a
commit 8f061b14ee

View File

@ -2232,7 +2232,6 @@ public class WebDavStore extends Store {
*/
public class DataSet {
private HashMap<String, HashMap<String, String>> mData = new HashMap<String, HashMap<String, String>>();
// private HashMap<String, String> mLostData = new HashMap<String, String>();
private StringBuilder mUid = new StringBuilder();
private HashMap<String, String> mTempData = new HashMap<String, String>();
@ -2250,8 +2249,7 @@ public class WebDavStore extends Store {
public void finish() {
String uid = mUid.toString();
if (!uid.equals("") &&
mTempData != null) {
if (uid != null && mTempData != null) {
mData.put(uid, mTempData);
} else if (mTempData != null) {
/*