Skip to content

Commit

Permalink
Remove getMessages; fix up 6a4777
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Oct 13, 2014
1 parent f717685 commit 6291909
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -18,7 +18,6 @@
import com.google.common.base.Function;
import com.google.common.collect.Iterators;
import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.rdf.model.Literal;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.Statement;
Expand Down Expand Up @@ -511,17 +510,4 @@ private static URI checksumURI( final String checksum ) {
}
return null;
}

/*
* Return the statement's predicate and its literal value if there's any
* @param stmt
* @return
*/
private static String getMessage(final Statement stmt) {
final Literal literal = stmt.getLiteral();
if (literal != null) {
return stmt.getPredicate().getURI() + ": " + literal.getString();
}
return null;
}
}

0 comments on commit 6291909

Please sign in to comment.