Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-21

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • Jena 2.11.0
    • Ontology API
    • None

    Description

      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").

      Attachments

        Activity

          People

            ijd Ian Dickinson
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: