BugFix: Accepts null base in all implementations of FHIRPathEngines.evaluate(Base base, String path) to match all other evaluate methods. (#1015)
This commit is contained in:
parent
ab00f53ee7
commit
ba828cbb0e
|
@ -341,7 +341,7 @@ public class FHIRPathEngine {
|
||||||
if (base != null)
|
if (base != null)
|
||||||
list.add(base);
|
list.add(base);
|
||||||
log = new StringBuilder();
|
log = new StringBuilder();
|
||||||
return execute(new ExecutionContext(null, base.isResource() ? base : null, base, null, base), list, exp, true);
|
return execute(new ExecutionContext(null, base != null && base.isResource() ? base : null, base, null, base), list, exp, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -522,7 +522,7 @@ public class FHIRPathEngine {
|
||||||
if (base != null)
|
if (base != null)
|
||||||
list.add(base);
|
list.add(base);
|
||||||
log = new StringBuilder();
|
log = new StringBuilder();
|
||||||
return execute(new ExecutionContext(null, base.isResource() ? base : null, base.isResource() ? base : null, base, null, base), list, exp, true);
|
return execute(new ExecutionContext(null, base != null && base.isResource() ? base : null, base != null && base.isResource() ? base : null, base, null, base), list, exp, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -715,7 +715,7 @@ public class FHIRPathEngine {
|
||||||
list.add(base);
|
list.add(base);
|
||||||
}
|
}
|
||||||
log = new StringBuilder();
|
log = new StringBuilder();
|
||||||
return execute(new ExecutionContext(null, base.isResource() ? base : null, base.isResource() ? base : null, base, null, base), list, exp, true);
|
return execute(new ExecutionContext(null, base != null && base.isResource() ? base : null, base != null && base.isResource() ? base : null, base, null, base), list, exp, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -717,7 +717,7 @@ public class FHIRPathEngine {
|
||||||
list.add(base);
|
list.add(base);
|
||||||
}
|
}
|
||||||
log = new StringBuilder();
|
log = new StringBuilder();
|
||||||
return execute(new ExecutionContext(null, base.isResource() ? base : null, base.isResource() ? base : null, base, null, base), list, exp, true);
|
return execute(new ExecutionContext(null, base != null && base.isResource() ? base : null, base != null && base.isResource() ? base : null, base, null, base), list, exp, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue