Fixed minor bug introduced by recent check-in for asserting types in triple loader payload.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1968 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-12-28 19:48:08 +00:00
parent 6fb2b05739
commit ccc6587cdd

View File

@ -326,7 +326,7 @@ public class TripleLoaderTransposedNodeFactory implements TransposedNodeFactory
String subject, Project project, String subject, Project project,
int subjectRowIndex, int subjectCellIndex, Cell subjectCell) { int subjectRowIndex, int subjectCellIndex, Cell subjectCell) {
Recon recon = subjectCell.recon != null && Recon recon = subjectCell != null && subjectCell.recon != null &&
(subjectCell.recon.judgment == Judgment.Matched || subjectCell.recon.judgment == Judgment.New) (subjectCell.recon.judgment == Judgment.Matched || subjectCell.recon.judgment == Judgment.New)
? subjectCell.recon : null; ? subjectCell.recon : null;