ansell/jsonld-java — comment on commit 7a662f0bbe2b5c57eacb97f35d3a3e33c4944827
File:  line 0
By tristan:

The returning the triple (or null to stop triple generation) is an artifact from me copying digitalbazaar's reference implementations. The triples implementation in his code doesn't seem to follow the current spec, which says that the triples function doesn't return anything (i.e. is void). Since nothing is done with the returned triple except check if it's null, perhaps it's ok to simply make the function void and remove the ability to "stop" triple generation (I'm quite new to the RDF world however, so i'm not sure if there are any cases where this actually useful).