mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-12 15:54:44 +00:00
fix typo
This commit is contained in:
parent
769fe6cb31
commit
c9082f37d3
@ -72,7 +72,7 @@ public class ObjectConverter {
|
||||
ByteArrayInputStream bi = new ByteArrayInputStream(bs.toByteArray());
|
||||
List<NamedElement> list = new JsonParser(context).parse(bi);
|
||||
if (list.size() != 1) {
|
||||
throw new FHIRException("Unable to convert because the source contains multieple resources");
|
||||
throw new FHIRException("Unable to convert because the source contains multiple resources");
|
||||
}
|
||||
return list.get(0).getElement();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public class ObjectConverter {
|
||||
ByteArrayInputStream bi = new ByteArrayInputStream(bs.toByteArray());
|
||||
List<ValidatedFragment> list = new JsonParser(context).parse(bi);
|
||||
if (list.size() != 1) {
|
||||
throw new FHIRException("Unable to convert because the source contains multieple resources");
|
||||
throw new FHIRException("Unable to convert because the source contains multiple resources");
|
||||
}
|
||||
return list.get(0).getElement();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user