From 7a0fd451679e994db39008e97cdd79b19a62a4c5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 20 Mar 2017 16:07:17 +0300 Subject: juick-core: fix TokensList model --- juick-core/src/main/java/com/juick/TokensList.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'juick-core') 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 tokens; + public TokensList() { + tokens = new ArrayList<>(); + } + @JsonProperty("type") public String getType() { return type; -- cgit v1.2.3