diff --git a/source/net/sourceforge/filebot/ui/panel/rename/MatchAction.java b/source/net/sourceforge/filebot/ui/panel/rename/MatchAction.java index 6f3ecffa..2798d68f 100644 --- a/source/net/sourceforge/filebot/ui/panel/rename/MatchAction.java +++ b/source/net/sourceforge/filebot/ui/panel/rename/MatchAction.java @@ -97,9 +97,9 @@ class MatchAction extends AbstractAction { @Override public float getSimilarity(Object o1, Object o2) { - // normalize absolute similarity to similarity rank (20 ranks in total), - // so we are less likely to fall for false positives - return (float) (Math.floor(super.getSimilarity(o1, o2) * 20) / 20); + // normalize absolute similarity to similarity rank (10 ranks in total), + // so we are less likely to fall for false positives in this pass, and move on to the next one + return (float) (Math.floor(super.getSimilarity(o1, o2) * 10) / 10); } diff --git a/source/net/sourceforge/filebot/ui/panel/sfv/VerificationFileScanner.java b/source/net/sourceforge/filebot/ui/panel/sfv/VerificationFileScanner.java index 768b7582..cf1645ac 100644 --- a/source/net/sourceforge/filebot/ui/panel/sfv/VerificationFileScanner.java +++ b/source/net/sourceforge/filebot/ui/panel/sfv/VerificationFileScanner.java @@ -107,7 +107,7 @@ class VerificationFileScanner implements Iterator>, Closeabl protected boolean isComment(String line) { - return line.startsWith(";") || line.isEmpty(); + return line.isEmpty() || line.startsWith(";"); }