From 8d68728dc1060c926e248123c3f7a312ae21c447 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 27 Feb 2020 15:30:07 +0300 Subject: spring.jackson.serialization.write-empty-json-arrays=true --- src/main/java/com/juick/model/PrivateChats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com') diff --git a/src/main/java/com/juick/model/PrivateChats.java b/src/main/java/com/juick/model/PrivateChats.java index d386e978..c3a443f6 100644 --- a/src/main/java/com/juick/model/PrivateChats.java +++ b/src/main/java/com/juick/model/PrivateChats.java @@ -29,7 +29,7 @@ import java.util.List; public class PrivateChats { private List users; - + public PrivateChats() { this.users = Collections.emptyList(); } -- cgit v1.2.3