1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Dont crash when setting versioning (fixes #798)

This commit is contained in:
Felix Ableitner 2016-12-05 14:09:39 +09:00
parent 92acc09876
commit 46044258a6

View file

@ -2,6 +2,7 @@ package com.nutomic.syncthingandroid.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@ -33,7 +34,7 @@ public class Folder {
public static class Versioning implements Serializable {
public String type;
public Map<String, String> params;
public Map<String, String> params = new HashMap<>();
}
public void addDevice(String deviceId) {