universAAL / tools.eclipse-plugins

Tools in form of Eclipse plugins that help developers use universAAL
2 stars 1 forks source link

Ontology Wizard creates Factory extending FactoryImpl #432

Closed cstockloew closed 7 years ago

cstockloew commented 7 years ago

Originally Opened: @Alfiva (2014-09-04 08:34:04) Originally Closed: 2014-09-04 08:49:58

When creating an ontology with Ontology Wizard, the generated code creates an OntologyFactory class that extends ResourceFactoryImpl, which is now deprecated. The appropriate way is implementing ResourceFactory instead (the rest of the code remains the same).

This seems not to be a problem in OSGi, but it is a problem when dexing the ontology and using it in Android.

--

From: this issue has been automatically imported from our old issue tracker

cstockloew commented 7 years ago

Original author: @Alfiva (2014-09-04 08:49:58)

It appears it is correctly implemented, at least when using 3.0.0, but it was reported by some user that it generated it with Impl, and in fact in the source code of the tool there is still the code that generates it with Impl. Make sure the right thing is used... but for now it seems it is good enough.

cstockloew commented 7 years ago

issue cloed on 2014-09-04 08:49:58