Removed unused imports

master
Stuart Boston 13 years ago
parent e17db7a15b
commit bea972520b

@ -62,6 +62,7 @@ public class WrapperAlternativeTitles {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** /**
* Base class for the wrappers * Base class for the wrappers
@ -31,10 +30,10 @@ import org.slf4j.LoggerFactory;
*/ */
public class WrapperBase { public class WrapperBase {
/* /*
* Logger - set but the sub-classes * Logger - set by the sub-classes
*/ */
private Logger LOG; private Logger log;
/* /*
* Properties * Properties
*/ */
@ -47,8 +46,8 @@ public class WrapperBase {
@JsonProperty("total_results") @JsonProperty("total_results")
private int totalResults; private int totalResults;
public WrapperBase(Logger LOG) { public WrapperBase(Logger logger) {
this.LOG = LOG; this.log = logger;
} }
//<editor-fold defaultstate="collapsed" desc="Getter Methods"> //<editor-fold defaultstate="collapsed" desc="Getter Methods">
@ -98,6 +97,6 @@ public class WrapperBase {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("Unknown property: '").append(key); sb.append("Unknown property: '").append(key);
sb.append("' value: '").append(value).append("'"); 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.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.Collection; import com.omertron.themoviedbapi.model.Collection;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
@ -33,6 +32,7 @@ public class WrapperCollection extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("results") @JsonProperty("results")
private List<Collection> results; private List<Collection> results;

@ -22,17 +22,17 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.Company; import com.omertron.themoviedbapi.model.Company;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
* *
* @author stuart.boston * @author stuart.boston
*/ */
public class WrapperCompany extends WrapperBase{ public class WrapperCompany extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("results") @JsonProperty("results")
private List<Company> results; private List<Company> results;

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.MovieDb; import com.omertron.themoviedbapi.model.MovieDb;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.Artwork; import com.omertron.themoviedbapi.model.Artwork;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
@ -33,6 +32,7 @@ public class WrapperImages extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("backdrops") @JsonProperty("backdrops")
private List<Artwork> backdrops; private List<Artwork> backdrops;
@JsonProperty("posters") @JsonProperty("posters")

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.KeywordMovie; import com.omertron.themoviedbapi.model.KeywordMovie;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
@ -33,6 +32,7 @@ public class WrapperKeywordMovies extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("results") @JsonProperty("results")
private List<KeywordMovie> results; private List<KeywordMovie> results;

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.Keyword; import com.omertron.themoviedbapi.model.Keyword;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
@ -33,6 +32,7 @@ public class WrapperKeywords extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("results") @JsonProperty("results")
private List<Keyword> results; private List<Keyword> results;

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.MovieDb; import com.omertron.themoviedbapi.model.MovieDb;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**

@ -77,6 +77,7 @@ public class WrapperMovieCasts {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

@ -66,6 +66,7 @@ public class WrapperMovieKeywords {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.MovieList; import com.omertron.themoviedbapi.model.MovieList;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**

@ -22,7 +22,6 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.Person; import com.omertron.themoviedbapi.model.Person;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
@ -33,6 +32,7 @@ public class WrapperPerson extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("results") @JsonProperty("results")
private List<Person> results; private List<Person> results;

@ -22,17 +22,17 @@ package com.omertron.themoviedbapi.wrapper;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.model.PersonCredit; import com.omertron.themoviedbapi.model.PersonCredit;
import java.util.List; import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
* *
* @author stuart.boston * @author stuart.boston
*/ */
public class WrapperPersonCredits extends WrapperBase{ public class WrapperPersonCredits extends WrapperBase {
/* /*
* Properties * Properties
*/ */
@JsonProperty("cast") @JsonProperty("cast")
private List<PersonCredit> cast; private List<PersonCredit> cast;
@JsonProperty("crew") @JsonProperty("crew")

@ -66,6 +66,7 @@ public class WrapperReleaseInfo {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

@ -76,6 +76,7 @@ public class WrapperTrailers {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

@ -66,6 +66,7 @@ public class WrapperTranslations {
/** /**
* Handle unknown properties and print a message * Handle unknown properties and print a message
*
* @param key * @param key
* @param value * @param value
*/ */

Loading…
Cancel
Save