bdionne / pellet

Pellet is an OWL 2 reasoner in Java; open source (AGPL) and commercially licensed, commercial support available.
http://clarkparsia.com/pellet
Other
2 stars 1 forks source link

Remove unnecessary call #39

Closed bdionne closed 7 years ago

bdionne commented 7 years ago

@rgrinberg @AnthonyMl - have a look at this. I think this call is not needed. On restart, the main start() call creates a new ProtegeServerState and the start() method is called in it's constructor.

The behavior I was seeing, which this fixes, is that after a restart the first request from a client failed, because the ontologies map state variable was empty.

bdionne commented 7 years ago

This is wrong, on debugging further I see getState() reuses existing classes so a start() call is needed here