* improve unique() detection and assume that generally any movie object has tmdbid available

This commit is contained in:
Reinhard Pointner 2014-09-15 17:36:25 +00:00
parent a8568f7bcd
commit 36feeba380
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class Movie extends SearchResult {
@Override
public int hashCode() {
return year;
return tmdbId > 0 ? tmdbId : imdbId > 0 ? imdbId : year;
}
@Override