NIHVIVO-2958 fixed bug in retrieving class example annotations

This commit is contained in:
brianjlowe 2011-07-18 19:09:53 +00:00
parent cf13f22f36
commit ffad7bf702

View file

@ -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 {