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:
parent
ec1604e815
commit
dce42400d4
@ -73,7 +73,9 @@ public class Recon implements Serializable, HasFields, Jsonizable {
|
||||
|
||||
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.match = match;
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user