Fixed bug introduced while trying to delay constructing the candidates arrays in Recon objects.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@130 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-02-23 17:47:34 +00:00
parent ec1604e815
commit dce42400d4

View File

@ -73,7 +73,9 @@ public class Recon implements Serializable, HasFields, Jsonizable {
System.arraycopy(features, 0, r.features, 0, features.length); System.arraycopy(features, 0, r.features, 0, features.length);
r.candidates.addAll(candidates); if (candidates != null) {
r.candidates = new ArrayList<ReconCandidate>(candidates);
}
r.judgment = judgment; r.judgment = judgment;
r.match = match; r.match = match;
return r; return r;