mirror of https://github.com/moparisthebest/k-9
Fixed the parsing of response data for WebDAV requests.
This commit is contained in:
parent
6de081c5b0
commit
b2d5ea3ce2
|
@ -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) {
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue