From e736aee48a4a7de907b92b381ab952259e534ee8 Mon Sep 17 00:00:00 2001 From: Stuart Boston Date: Thu, 12 Feb 2015 15:58:20 +0000 Subject: [PATCH] Remove unused methods and fields --- .../omertron/themoviedbapi/TheMovieDbApi.java | 9 ---- .../themoviedbapi/TheMovieDbApiTest.java | 54 ------------------- 2 files changed, 63 deletions(-) diff --git a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java index e04cf8225..c46a144bf 100644 --- a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java +++ b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java @@ -175,15 +175,6 @@ public class TheMovieDbApi { } } - /** - * Get the API key that is to be used - * - * @return - */ - public String getApiKey() { - return apiKey; - } - /** * Compare the MovieDB object with a title & year * diff --git a/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java b/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java index a73631cd4..5a23d8b9e 100644 --- a/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java +++ b/src/test/java/com/omertron/themoviedbapi/TheMovieDbApiTest.java @@ -383,33 +383,6 @@ public class TheMovieDbApiTest { assertTrue("Error getting the movie from IMDB ID", result.getId() == 11); } - /** - * Test of getApiKey method, of class TheMovieDbApi. - * - */ - @Test - public void testGetApiKey() { - // Not required - } - - /** - * Test of getApiBase method, of class TheMovieDbApi. - * - */ - @Test - public void testGetApiBase() { - // Not required - } - - /** - * Test of getConfiguration method, of class TheMovieDbApi. - * - */ - @Test - public void testGetConfiguration() { - // Not required - } - /** * Test of searchPeople method, of class TheMovieDbApi. * @@ -475,33 +448,6 @@ public class TheMovieDbApiTest { assertTrue("No latest movie found", result.getId() > 0); } - /** - * Test of compareMovies method, of class TheMovieDbApi. - * - */ - @Test - public void testCompareMovies() { - // Not required - } - - /** - * Test of setProxy method, of class TheMovieDbApi. - * - */ - @Test - public void testSetProxy() { - // Not required - } - - /** - * Test of setTimeout method, of class TheMovieDbApi. - * - */ - @Test - public void testSetTimeout() { - // Not required - } - /** * Test of getNowPlayingMovies method, of class TheMovieDbApi. *