* forgot to add renamed file... ups
This commit is contained in:
parent
bafb33d676
commit
d642a871f7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user