Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuhn committed Mar 7, 2018
1 parent 4c69b7f commit 04ca5b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/trustyuri/rdf/RdfFileContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ public void propagate(RDFHandler handler) throws RDFHandlerException {
propagate(handler, true);
}

public void propagate(RDFHandler handler, boolean doStardAndEnd) throws RDFHandlerException {
if (doStardAndEnd) handler.startRDF();
public void propagate(RDFHandler handler, boolean doStartAndEnd) throws RDFHandlerException {
if (doStartAndEnd) handler.startRDF();
for (Pair<String,String> ns : namespaces) {
handler.handleNamespace(ns.getLeft(), ns.getRight());
}
for (Statement st : statements) {
handler.handleStatement(st);
}
if (doStardAndEnd) handler.endRDF();
if (doStartAndEnd) handler.endRDF();
}

public RDFFormat getOriginalFormat() {
Expand Down

0 comments on commit 04ca5b3

Please sign in to comment.