* 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

View File

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