javadoc and possibly code bug in 
com.hp.hpl.jena.ontology.impl.OntModelImpl.listStatements(Resource, Property, 
RDFNode, Model)
------------------------------------------------------------------------------------------------------------------------------

                 Key: JENA-21
                 URL: https://issues.apache.org/jira/browse/JENA-21
             Project: Jena
          Issue Type: Bug
          Components: Onotology API
            Reporter: Benson Margulies


com.hp.hpl.jena.ontology.impl.OntModelImpl.listStatements(Resource, Property, 
RDFNode, Model)

The javadoc says that 'a null argument means anything'. In fact, you get an NPE 
for a null 'posit' model. Either the doc could use a bit of clarification, or 
the code should treat a null model as empty. There's also a space missing 
("matchesthe").


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to