Inappropriate usage of OntologyInputSource
------------------------------------------
Key: STANBOL-112
URL: https://issues.apache.org/jira/browse/STANBOL-112
Project: Stanbol
Issue Type: Bug
Components: KReS
Environment: Mac OS 10.5.8, Java(TM) SE Runtime Environment (build
1.6.0_22-b04-307-9M3263)
Reporter: Alessandro Adamou
Assignee: Alessandro Adamou
Several KReS classes reimplement the OntologyInputSource interface where they
should not, i.e. only for loading a single ontology. They should use the
already available implementations in kres.manager (which should be moved to the
API level).
In particular, three RESTful methods in
eu.iksproject.kres.jersey.resource.KReSSessionResource reimplement this
interface in a way (i.e. by reusing the OwlCacheManager) that will throw
unmanaged OWLOntologyAlreadyExistsException s if invoked multiple times.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira