Removed debug lines

master
Omertron 15 years ago
parent 9a5fdc330e
commit 5d7931a3d6

@ -415,14 +415,9 @@ public class TheMovieDb {
return null; return null;
} }
System.out.println("Looking for: " + title + " - Year: " + year);
for (MovieDB moviedb : movieList) { for (MovieDB moviedb : movieList) {
if (compareMovies(moviedb, title, year)) { if (compareMovies(moviedb, title, year)) {
System.out.println("Matched: " + moviedb.getTitle());
return moviedb; return moviedb;
} else {
System.out.println("Not Matched: " + moviedb.getTitle() + " - " + moviedb.getReleaseDate());
} }
} }
@ -445,7 +440,6 @@ public class TheMovieDb {
if (isValidString(moviedb.getReleaseDate())) { if (isValidString(moviedb.getReleaseDate())) {
// Compare with year // Compare with year
String movieYear = moviedb.getReleaseDate().substring(0, 4); String movieYear = moviedb.getReleaseDate().substring(0, 4);
logger.fine("Comparing against: " + moviedb.getTitle() + " - " + moviedb.getReleaseDate() + " - " + movieYear);
if (moviedb.getTitle().equalsIgnoreCase(title) && movieYear.equals(year)) { if (moviedb.getTitle().equalsIgnoreCase(title) && movieYear.equals(year)) {
return true; return true;
} }

Loading…
Cancel
Save