* forgot to add renamed file... ups

This commit is contained in:
Reinhard Pointner 2011-09-22 13:04:10 +00:00
parent bafb33d676
commit d642a871f7
1 changed files with 4 additions and 4 deletions

View File

@ -5,13 +5,13 @@ package net.sourceforge.filebot.web;
import java.util.Arrays;
public class MovieDescriptor extends SearchResult {
public class Movie extends SearchResult {
protected final int year;
protected final int imdbId;
public MovieDescriptor(String name, int year, int imdbId) {
public Movie(String name, int year, int imdbId) {
super(name);
this.year = year;
this.imdbId = imdbId;
@ -30,8 +30,8 @@ public class MovieDescriptor extends SearchResult {
@Override
public boolean equals(Object object) {
if (object instanceof MovieDescriptor) {
MovieDescriptor other = (MovieDescriptor) object;
if (object instanceof Movie) {
Movie other = (Movie) object;
return imdbId == other.imdbId && year == other.year && name.equals(other.name);
}