minor change to JenaBaseDao to display resource URI when local name is zero-length

This commit is contained in:
brianjlowe 2013-09-11 10:14:59 -04:00
parent 6570e3dcc6
commit f7d03b6de8

View file

@ -834,7 +834,11 @@ public class JenaBaseDao extends JenaBaseDaoCon {
try {
String localName = r.getLocalName();
if (localName != null) {
label = localName;
if(localName.trim().length() > 0) {
label = localName;
} else {
label = r.getURI();
}
} else if (r.isAnon()) {
label = r.getId().toString();
} else {