Change to emptyList()

master
Stuart Boston 11 years ago
parent 4ee48e15c2
commit 2e7c85a41a

@ -20,7 +20,6 @@
package com.omertron.themoviedbapi.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collections;
import java.util.List;
@ -40,7 +39,7 @@ public class MovieDbList extends AbstractJsonMapping {
@JsonProperty("favorite_count")
private int favoriteCount;
@JsonProperty("items")
private List<MovieDb> items = Collections.EMPTY_LIST;
private List<MovieDb> items = Collections.emptyList();
@JsonProperty("item_count")
private int itemCount;
@JsonProperty("iso_639_1")

@ -33,7 +33,7 @@ public class WrapperConfig extends AbstractWrapper {
@JsonProperty("images")
private TmdbConfiguration tmdbConfiguration;
@JsonProperty("change_keys")
private List<String> changeKeys = Collections.EMPTY_LIST;
private List<String> changeKeys = Collections.emptyList();
public TmdbConfiguration getTmdbConfiguration() {
return tmdbConfiguration;

@ -36,11 +36,11 @@ public class WrapperImages extends AbstractWrapperAll implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("backdrops")
private List<Artwork> backdrops = Collections.EMPTY_LIST;
private List<Artwork> backdrops = Collections.emptyList();
@JsonProperty("posters")
private List<Artwork> posters = Collections.EMPTY_LIST;
private List<Artwork> posters = Collections.emptyList();
@JsonProperty("profiles")
private List<Artwork> profiles = Collections.EMPTY_LIST;
private List<Artwork> profiles = Collections.emptyList();
public List<Artwork> getBackdrops() {
return backdrops;

Loading…
Cancel
Save