diff --git a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java
index 9037db925..416221a12 100644
--- a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java
+++ b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java
@@ -1381,155 +1381,4 @@ public class TheMovieDbApi {
}
//
- //
- /*
- * Deprecated Functions.
- *
- * Will be removed in next version: 3.3
- */
- //
- /**
- * This interface will be deprecated in the next version
- *
- * @param movieName
- * @param language
- * @param allResults
- * @return
- * @throws MovieDbException
- * @deprecated
- */
- @Deprecated
- public List 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 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 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 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 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 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 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 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 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 getGenreMovies(int genreId, String language, boolean allResults) throws MovieDbException {
- return getGenreMovies(genreId, language, 0);
- }
- //
}
diff --git a/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java b/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java
index 7e9f30123..44b1b9e0b 100644
--- a/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java
+++ b/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java
@@ -297,8 +297,8 @@ public class TheMovieDbApiTest {
public void testSearchPeople() throws MovieDbException {
logger.info("searchPeople");
String personName = "Bruce Willis";
- boolean allResults = false;
- List result = tmdb.searchPeople(personName, allResults);
+ boolean includeAdult = false;
+ List result = tmdb.searchPeople(personName, includeAdult, 0);
assertTrue("Couldn't find the person", result.size() > 0);
}
@@ -415,7 +415,7 @@ public class TheMovieDbApiTest {
@Test
public void testGetCompanyMovies() throws MovieDbException {
logger.info("getCompanyMovies");
- List results = tmdb.getCompanyMovies(ID_COMPANY_LUCASFILM, "", true);
+ List results = tmdb.getCompanyMovies(ID_COMPANY_LUCASFILM, "", 0);
assertTrue("No company movies found", !results.isEmpty());
}
@@ -425,7 +425,7 @@ public class TheMovieDbApiTest {
@Test
public void testSearchCompanies() throws MovieDbException {
logger.info("searchCompanies");
- List results = tmdb.searchCompanies(COMPANY_NAME, "", true);
+ List results = tmdb.searchCompanies(COMPANY_NAME, 0);
assertTrue("No company information found", !results.isEmpty());
}
@@ -435,7 +435,7 @@ public class TheMovieDbApiTest {
@Test
public void testGetSimilarMovies() throws MovieDbException {
logger.info("getSimilarMovies");
- List results = tmdb.getSimilarMovies(ID_MOVIE_BLADE_RUNNER, "", true);
+ List results = tmdb.getSimilarMovies(ID_MOVIE_BLADE_RUNNER, "", 0);
assertTrue("No similar movies found", !results.isEmpty());
}
@@ -455,7 +455,7 @@ public class TheMovieDbApiTest {
@Test
public void testGetGenreMovies() throws MovieDbException {
logger.info("getGenreMovies");
- List results = tmdb.getGenreMovies(ID_GENRE_ACTION, "", true);
+ List results = tmdb.getGenreMovies(ID_GENRE_ACTION, "", 0);
assertTrue("No genre movies found", !results.isEmpty());
}
@@ -465,7 +465,7 @@ public class TheMovieDbApiTest {
@Test
public void testGetUpcoming() throws Exception {
logger.info("getUpcoming");
- List results = tmdb.getUpcoming("");
+ List results = tmdb.getUpcoming("", 0);
assertTrue("No upcoming movies found", !results.isEmpty());
}