NIHVIVO-1962 commented out a line to avoid considering vitro:label property in getLabel method.

This commit is contained in:
ass92 2011-02-03 21:01:11 +00:00
parent 4508106ba1
commit 7f98249f20

View file

@ -656,9 +656,10 @@ public class JenaBaseDao extends JenaBaseDaoCon {
label = tryPropertyForPreferredLanguages( r, RDFS.label, ALSO_TRY_NO_LANG );
// try vitro:label with preferred languages
if ( label == null ) {
// Commenting out for NIHVIVO-1962
/* if ( label == null ) {
label = tryPropertyForPreferredLanguages( r, r.getModel().getProperty(VitroVocabulary.label), ALSO_TRY_NO_LANG );
}
} */
} finally {
r.getOntModel().leaveCriticalSection();
}