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