From ccc6587cdd4d34336f32f673d9dc0f4b8dbecfee Mon Sep 17 00:00:00 2001 From: David Huynh Date: Tue, 28 Dec 2010 19:48:08 +0000 Subject: [PATCH] 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 --- .../protograph/transpose/TripleLoaderTransposedNodeFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/freebase/src/com/google/refine/freebase/protograph/transpose/TripleLoaderTransposedNodeFactory.java b/extensions/freebase/src/com/google/refine/freebase/protograph/transpose/TripleLoaderTransposedNodeFactory.java index 2b1143dfb..21e5b890a 100644 --- a/extensions/freebase/src/com/google/refine/freebase/protograph/transpose/TripleLoaderTransposedNodeFactory.java +++ b/extensions/freebase/src/com/google/refine/freebase/protograph/transpose/TripleLoaderTransposedNodeFactory.java @@ -326,7 +326,7 @@ public class TripleLoaderTransposedNodeFactory implements TransposedNodeFactory String subject, Project project, 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 : null;