Simplification

This commit is contained in:
M66B
2019-05-18 08:49:20 +02:00
parent 386f9cca17
commit 58b2d97339
13 changed files with 73 additions and 71 deletions

View File

@@ -88,7 +88,9 @@ public class EntityOperation {
static final String SYNC = "sync";
static final String SUBSCRIBE = "subscribe";
static void queue(Context context, DB db, EntityMessage message, String name, Object... values) {
static void queue(Context context, EntityMessage message, String name, Object... values) {
DB db = DB.getInstance(context);
JSONArray jargs = new JSONArray();
for (Object value : values)
jargs.put(value);