File tree Expand file tree Collapse file tree
api/src/main/java/com/creatubbles/api/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import java .util .Date ;
1010import java .util .List ;
1111
12+ import static java .util .Collections .emptyList ;
1213import static java .util .Collections .unmodifiableList ;
1314
1415public class Meta {
@@ -20,16 +21,16 @@ public class Meta {
2021 private Integer totalCount ;
2122
2223 @ JsonProperty ("user_bubbled_creations" )
23- private List <String > userBubbledCreations ;
24+ private List <String > userBubbledCreations = emptyList () ;
2425
2526 @ JsonProperty ("user_bubbled_users" )
26- private List <String > userBubbledUsers ;
27+ private List <String > userBubbledUsers = emptyList () ;
2728
2829 @ JsonProperty ("user_bubbled_galleries" )
29- private List <String > userBubbledGalleries ;
30+ private List <String > userBubbledGalleries = emptyList () ;
3031
3132 @ JsonProperty ("followed_users" )
32- private List <String > followedUsers ;
33+ private List <String > followedUsers = emptyList () ;
3334
3435 @ JsonProperty ("total_unread_count" )
3536 private Integer totalUnreadCount ;
@@ -41,7 +42,7 @@ public class Meta {
4142 private Date lastViewedAt ;
4243
4344 @ JsonDeserialize (using = AbilitiesConverter .class )
44- private List <Ability > abilities ;
45+ private List <Ability > abilities = emptyList () ;
4546
4647 @ Nullable
4748 public Integer getTotalPages () {
You can’t perform that action at this time.
0 commit comments