Remove deprecated functions

This commit is contained in:
Stuart Boston
2012-12-19 16:00:57 +00:00
parent 46cd35f908
commit af0b657586
2 changed files with 7 additions and 158 deletions
@@ -1381,155 +1381,4 @@ public class TheMovieDbApi {
}
//</editor-fold>
//
/*
* Deprecated Functions.
*
* Will be removed in next version: 3.3
*/
//<editor-fold defaultstate="collapsed" desc="Deprecated Functions">
/**
* This interface will be deprecated in the next version
*
* @param movieName
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> searchMovie(String movieName, String language, boolean allResults) throws MovieDbException {
return searchMovie(movieName, 0, language, allResults, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param companyName
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<Company> searchCompanies(String companyName, String language, boolean allResults) throws MovieDbException {
return searchCompanies(companyName, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param personName
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<Person> searchPeople(String personName, boolean allResults) throws MovieDbException {
return searchPeople(personName, allResults, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param movieId
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getSimilarMovies(int movieId, String language, boolean allResults) throws MovieDbException {
return getSimilarMovies(movieId, language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param language
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getUpcoming(String language) throws MovieDbException {
return getUpcoming(language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getNowPlayingMovies(String language, boolean allResults) throws MovieDbException {
return getNowPlayingMovies(language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getPopularMovieList(String language, boolean allResults) throws MovieDbException {
return getPopularMovieList(language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getTopRatedMovies(String language, boolean allResults) throws MovieDbException {
return getTopRatedMovies(language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param companyId
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getCompanyMovies(int companyId, String language, boolean allResults) throws MovieDbException {
return getCompanyMovies(companyId, language, 0);
}
/**
* This interface will be deprecated in the next version
*
* @param genreId
* @param language
* @param allResults
* @return
* @throws MovieDbException
* @deprecated
*/
@Deprecated
public List<MovieDb> getGenreMovies(int genreId, String language, boolean allResults) throws MovieDbException {
return getGenreMovies(genreId, language, 0);
}
//</editor-fold>
}