You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Ian Dickinson (JIRA)" <ji...@apache.org> on 2011/05/25 12:59:47 UTC

[jira] [Resolved] (JENA-21) javadoc and possibly code bug in com.hp.hpl.jena.ontology.impl.OntModelImpl.listStatements(Resource, Property, RDFNode, Model)

     [ https://issues.apache.org/jira/browse/JENA-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Dickinson resolved JENA-21.
-------------------------------

    Resolution: Fixed

Fixed in revision #1127472

> 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
>            Assignee: Ian Dickinson
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira