mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-13 08:14:46 +00:00
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).setOperation(Operation.Union);
|
||||||
pass.get(i).setOpNext(pass.get(i+1));
|
pass.get(i).setOpNext(pass.get(i+1));
|
||||||
}
|
}
|
||||||
return pass.get(0).toString();
|
return pass.size() > 0 ? pass.get(0).toString() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user