Fixed the parsing of response data for WebDAV requests.

This commit is contained in:
wongk 2011-12-28 14:03:44 -05:00
parent 6de081c5b0
commit b2d5ea3ce2
1 changed files with 1 additions and 3 deletions

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) {
/*