From e601ad8d401a94841746d401cc88afb3a239944a Mon Sep 17 00:00:00 2001 From: David Huynh Date: Mon, 25 Oct 2010 01:41:07 +0000 Subject: [PATCH] bug: autoMatch flag wasn't actually used before git-svn-id: http://google-refine.googlecode.com/svn/trunk@1627 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/model/recon/StandardReconConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/com/google/refine/model/recon/StandardReconConfig.java b/main/src/com/google/refine/model/recon/StandardReconConfig.java index 739c1edde..f96017371 100644 --- a/main/src/com/google/refine/model/recon/StandardReconConfig.java +++ b/main/src/com/google/refine/model/recon/StandardReconConfig.java @@ -388,7 +388,7 @@ public class StandardReconConfig extends ReconConfig { score ); - if (i == 0 && result.has("match") && result.getBoolean("match")) { + if (autoMatch && i == 0 && result.has("match") && result.getBoolean("match")) { recon.match = candidate; recon.matchRank = 0; recon.judgment = Judgment.Matched;