diff options
author | Vitaly Takmazov | 2017-03-20 16:07:17 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-23 16:05:00 +0300 |
commit | 7a0fd451679e994db39008e97cdd79b19a62a4c5 (patch) | |
tree | 4eeae9234bbe0d9cefa79447f970df779b47a023 /juick-core/src/main/java/com | |
parent | 3c5ec95b59dac6820751a9e3d498cf7bf3538724 (diff) |
juick-core: fix TokensList model
Diffstat (limited to 'juick-core/src/main/java/com')
-rw-r--r-- | juick-core/src/main/java/com/juick/TokensList.java | 5 |
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; |