Fix build
This commit is contained in:
parent
11c5ab7892
commit
2733812535
|
@ -282,7 +282,7 @@ public abstract class BaseParser implements IParser {
|
||||||
}
|
}
|
||||||
return reference;
|
return reference;
|
||||||
} else {
|
} else {
|
||||||
if (!ref.hasResourceType()) {
|
if (!ref.hasResourceType() && theRef.getResource() != null) {
|
||||||
ref = ref.withResourceType(myContext.getResourceDefinition(theRef.getResource()).getName());
|
ref = ref.withResourceType(myContext.getResourceDefinition(theRef.getResource()).getName());
|
||||||
}
|
}
|
||||||
if (isNotBlank(myServerBaseUrl) && StringUtils.equals(myServerBaseUrl, ref.getBaseUrl())) {
|
if (isNotBlank(myServerBaseUrl) && StringUtils.equals(myServerBaseUrl, ref.getBaseUrl())) {
|
||||||
|
|
Loading…
Reference in New Issue