NIHVIVO-2958 fixed bug in retrieving class example annotations
This commit is contained in:
parent
cf13f22f36
commit
ffad7bf702
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class VClassJena extends VClass {
|
||||||
public String getExample() {
|
public String getExample() {
|
||||||
|
|
||||||
if (this.myExample != null) {
|
if (this.myExample != null) {
|
||||||
return myName;
|
return myExample;
|
||||||
} else {
|
} else {
|
||||||
cls.getOntModel().enterCriticalSection(Lock.READ);
|
cls.getOntModel().enterCriticalSection(Lock.READ);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue