fix rendering issue when reference.reference missing
This commit is contained in:
parent
24331956f1
commit
74b1b7f201
|
@ -248,7 +248,7 @@ public abstract class ResourceRenderer extends DataRenderer {
|
||||||
if (display != null) {
|
if (display != null) {
|
||||||
c.addText(": "+display);
|
c.addText(": "+display);
|
||||||
}
|
}
|
||||||
if ((tr == null || !tr.getReference().startsWith("#")) && name != null) {
|
if ((tr == null || (tr.getReference() != null && !tr.getReference().startsWith("#"))) && name != null) {
|
||||||
x.addText(" \""+name+"\"");
|
x.addText(" \""+name+"\"");
|
||||||
}
|
}
|
||||||
if (r.hasExtension(ToolingExtensions.EXT_TARGET_ID)) {
|
if (r.hasExtension(ToolingExtensions.EXT_TARGET_ID)) {
|
||||||
|
|
Loading…
Reference in New Issue