Removed unused imports and dead variables
This commit is contained in:
@@ -940,7 +940,6 @@ public class TheMovieDbApi {
|
||||
* @throws MovieDbException
|
||||
*/
|
||||
public TmdbResultsList<Artwork> getCollectionImages(int collectionId, String language) throws MovieDbException {
|
||||
List<Artwork> artwork = new ArrayList<Artwork>();
|
||||
ApiUrl apiUrl = new ApiUrl(apiKey, BASE_COLLECTION, "/images");
|
||||
apiUrl.addArgument(PARAM_ID, collectionId);
|
||||
|
||||
@@ -1000,8 +999,6 @@ public class TheMovieDbApi {
|
||||
public TmdbResultsList<PersonCredit> getPersonCredits(int personId) throws MovieDbException {
|
||||
ApiUrl apiUrl = new ApiUrl(apiKey, BASE_PERSON, "/credits");
|
||||
|
||||
List<PersonCredit> personCredits = new ArrayList<PersonCredit>();
|
||||
|
||||
apiUrl.addArgument(PARAM_ID, personId);
|
||||
|
||||
URL url = apiUrl.buildUrl();
|
||||
@@ -1027,8 +1024,6 @@ public class TheMovieDbApi {
|
||||
public TmdbResultsList<Artwork> getPersonImages(int personId) throws MovieDbException {
|
||||
ApiUrl apiUrl = new ApiUrl(apiKey, BASE_PERSON, "/images");
|
||||
|
||||
List<Artwork> personImages = new ArrayList<Artwork>();
|
||||
|
||||
apiUrl.addArgument(PARAM_ID, personId);
|
||||
|
||||
URL url = apiUrl.buildUrl();
|
||||
|
||||
@@ -23,8 +23,6 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.PersonCredit;
|
||||
import com.omertron.themoviedbapi.model.PersonType;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user