Merge pull request #1209 from hapifhir/do-20230406-fhirtestcases-132
Fix index out of bounds exception for https://github.com/FHIR/fhir-test-cases/pull/132
This commit is contained in:
commit
4478e166a9
|
@ -101,7 +101,7 @@ public class SearchParameterValidator extends BaseValidator {
|
|||
pass.get(i).setOperation(Operation.Union);
|
||||
pass.get(i).setOpNext(pass.get(i+1));
|
||||
}
|
||||
return pass.get(0).toString();
|
||||
return pass.size() > 0 ? pass.get(0).toString() : null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue