* use non-strict matcher as to force a result from the final top similarity set

This commit is contained in:
Reinhard Pointner 2013-03-27 04:38:38 +00:00
parent c54c0895c3
commit 2f1e21c6a3
1 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,9 @@ import net.sourceforge.filebot.web.MultiEpisode;
public class EpisodeMatcher extends Matcher<File, Object> {
public EpisodeMatcher(Collection<File> values, Collection<Episode> candidates, boolean strictMetrics) {
super(values, candidates, true, strictMetrics ? StrictEpisodeMetrics.defaultSequence(false) : EpisodeMetrics.defaultSequence(false));
public EpisodeMatcher(Collection<File> values, Collection<Episode> candidates, boolean strict) {
// use strict matcher as to force a result from the final top similarity set
super(values, candidates, strict, strict ? StrictEpisodeMetrics.defaultSequence(false) : EpisodeMetrics.defaultSequence(false));
}