Removed unused imports
This commit is contained in:
@@ -62,6 +62,7 @@ public class WrapperAlternativeTitles {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonAnySetter;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Base class for the wrappers
|
||||
@@ -31,10 +30,10 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
public class WrapperBase {
|
||||
/*
|
||||
* Logger - set but the sub-classes
|
||||
* Logger - set by the sub-classes
|
||||
*/
|
||||
|
||||
private Logger LOG;
|
||||
private Logger log;
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
@@ -47,8 +46,8 @@ public class WrapperBase {
|
||||
@JsonProperty("total_results")
|
||||
private int totalResults;
|
||||
|
||||
public WrapperBase(Logger LOG) {
|
||||
this.LOG = LOG;
|
||||
public WrapperBase(Logger logger) {
|
||||
this.log = logger;
|
||||
}
|
||||
|
||||
//<editor-fold defaultstate="collapsed" desc="Getter Methods">
|
||||
@@ -98,6 +97,6 @@ public class WrapperBase {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Unknown property: '").append(key);
|
||||
sb.append("' value: '").append(value).append("'");
|
||||
LOG.trace(sb.toString());
|
||||
log.trace(sb.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Collection;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
@@ -33,6 +32,7 @@ public class WrapperCollection extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("results")
|
||||
private List<Collection> results;
|
||||
|
||||
|
||||
@@ -22,17 +22,17 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Company;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author stuart.boston
|
||||
*/
|
||||
public class WrapperCompany extends WrapperBase{
|
||||
public class WrapperCompany extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("results")
|
||||
private List<Company> results;
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.MovieDb;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Artwork;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
@@ -33,6 +32,7 @@ public class WrapperImages extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("backdrops")
|
||||
private List<Artwork> backdrops;
|
||||
@JsonProperty("posters")
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.KeywordMovie;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
@@ -33,6 +32,7 @@ public class WrapperKeywordMovies extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("results")
|
||||
private List<KeywordMovie> results;
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Keyword;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
@@ -33,6 +32,7 @@ public class WrapperKeywords extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("results")
|
||||
private List<Keyword> results;
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.MovieDb;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
|
||||
@@ -77,6 +77,7 @@ public class WrapperMovieCasts {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
@@ -66,6 +66,7 @@ public class WrapperMovieKeywords {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.MovieList;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Person;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
@@ -33,6 +32,7 @@ public class WrapperPerson extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("results")
|
||||
private List<Person> results;
|
||||
|
||||
|
||||
@@ -22,17 +22,17 @@ package com.omertron.themoviedbapi.wrapper;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.PersonCredit;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author stuart.boston
|
||||
*/
|
||||
public class WrapperPersonCredits extends WrapperBase{
|
||||
public class WrapperPersonCredits extends WrapperBase {
|
||||
/*
|
||||
* Properties
|
||||
*/
|
||||
|
||||
@JsonProperty("cast")
|
||||
private List<PersonCredit> cast;
|
||||
@JsonProperty("crew")
|
||||
|
||||
@@ -66,6 +66,7 @@ public class WrapperReleaseInfo {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
@@ -76,6 +76,7 @@ public class WrapperTrailers {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
@@ -66,6 +66,7 @@ public class WrapperTranslations {
|
||||
|
||||
/**
|
||||
* Handle unknown properties and print a message
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user