#345 OWLDataFactory.getRDFPlainLiteral creates new objects

closed
None
5
2012-10-31
2012-10-24
Matthew Horridge
No

The default implementation of OWLDataFactory.getRDFPlainLiteral creates a fresh object each time. It could just return a singleton. Similarly, OWLDataFactory.getOWLDatatype(OWL2Datatype) could return singletons.

Discussion

  • Matthew fixed this in commit 96805192353586445f9770a683adf63ea7e02889

     
    • status: open --> closed