diff --git a/source/net/sourceforge/filebot/web/EpisodeUtilities.java b/source/net/sourceforge/filebot/web/EpisodeUtilities.java index 88bfef81..a006b9a5 100644 --- a/source/net/sourceforge/filebot/web/EpisodeUtilities.java +++ b/source/net/sourceforge/filebot/web/EpisodeUtilities.java @@ -71,9 +71,9 @@ public final class EpisodeUtilities { private int compareValue(Comparable o1, T o2) { - if (o1 == null && o1 == null) + if (o1 == null && o2 == null) return 0; - if (o1 == null && o1 != null) + if (o1 == null && o2 != null) return Integer.MAX_VALUE; if (o1 != null && o2 == null) return Integer.MIN_VALUE;