Skip to content

Commit 52bb7f1

Browse files
committed
Check for handler not null instead of null
Signed-off-by: Bart Hanssens <bart.hanssens@fedict.be>
1 parent 6df9a5f commit 52bb7f1

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)