ontopia / ontopia

The open source tools for building, maintaining and deploying Topic Maps-based applications.
https://ontopia.net
Apache License 2.0
53 stars 12 forks source link

tolog: basic.TopicPredicate holds reference to an unused index #509

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minor issue, but the TopicPredicate fetches the ClassInstanceIndex w/o using it 
actually.

This:
<https://code.google.com/p/ontopia/source/browse/trunk/ontopia-engine/src/main/j
ava/net/ontopia/topicmaps/query/impl/basic/TopicPredicate.java#38>

should be removed. (RDBMS impl. does not use it either)

Original issue reported on code.google.com by lars.he...@gmail.com on 1 Oct 2014 at 5:44

GoogleCodeExporter commented 9 years ago
... and the class comment is also wrong (probably that's the cause of the 
unused index):

It states:

INTERNAL: Implements the 'type(typed, type)' predicate.

should be:

INTERNAL: Implements the 'topic(topic)' predicate.

Original comment by lars.he...@gmail.com on 1 Oct 2014 at 5:47

GoogleCodeExporter commented 9 years ago
Fixed by revision 2644

Original comment by qsieb...@gmail.com on 6 Oct 2014 at 8:39