aboutsummaryrefslogtreecommitdiff
path: root/juick-core
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-20 16:07:17 +0300
committerGravatar Vitaly Takmazov2017-03-23 16:05:00 +0300
commit7a0fd451679e994db39008e97cdd79b19a62a4c5 (patch)
tree4eeae9234bbe0d9cefa79447f970df779b47a023 /juick-core
parent3c5ec95b59dac6820751a9e3d498cf7bf3538724 (diff)
juick-core: fix TokensList model
Diffstat (limited to 'juick-core')
-rw-r--r--juick-core/src/main/java/com/juick/TokensList.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/juick-core/src/main/java/com/juick/TokensList.java b/juick-core/src/main/java/com/juick/TokensList.java
index de5158c7..0da95951 100644
--- a/juick-core/src/main/java/com/juick/TokensList.java
+++ b/juick-core/src/main/java/com/juick/TokensList.java
@@ -2,6 +2,7 @@ package com.juick;
import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.ArrayList;
import java.util.List;
/**
@@ -11,6 +12,10 @@ public class TokensList {
private String type;
private List<String> tokens;
+ public TokensList() {
+ tokens = new ArrayList<>();
+ }
+
@JsonProperty("type")
public String getType() {
return type;