1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-11 05:48:01 -05:00

Refactor MovieInfo

This commit is contained in:
Reinhard Pointner 2016-08-07 20:06:25 +08:00
parent a573b0d902
commit 3bc8c904d7

View File

@ -470,10 +470,6 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
return get(MovieProperty.overview);
}
public boolean isAdult() {
return get(MovieProperty.adult, Boolean::valueOf);
}
public Integer getId() {
return get(MovieProperty.id, Integer::new);
}
@ -514,10 +510,6 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
return get(MovieProperty.homepage, URL::new);
}
public URL getPoster() {
return get(MovieProperty.poster_path, URL::new);
}
public List<String> getGenres() {
return unmodifiableList(asList(genres));
}