Skip to content

Commit 2f0c07c

Browse files
author
Jeen Broekstra
authored
Merge pull request #779 from Fedict/issues/#773-rdfjson-null
Fix #773: Check for handler not null instead of null
2 parents 6df9a5f + 52bb7f1 commit 2f0c07c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/rio/rdfjson/src/main/java/org/eclipse/rdf4j/rio/rdfjson/RDFJSONParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ protected void reportFatalError(String msg, JsonLocation location)
154154
public void parse(final Reader reader, final String baseUri)
155155
throws IOException, RDFParseException, RDFHandlerException
156156
{
157-
if (rdfHandler == null) {
157+
if (rdfHandler != null) {
158158
rdfHandler.startRDF();
159159
}
160160
JsonParser jp = null;

0 commit comments

Comments
 (0)