diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java index 07f56ec80..4d574c3c4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/TerminologyCache.java @@ -695,10 +695,7 @@ public class TerminologyCache { } protected String hashJson(String s) { -// s = StringUtils.remove(s, ' '); - s = StringUtils.remove(s, '\n'); - s = StringUtils.remove(s, '\r'); - return String.valueOf(s.hashCode()); + return String.valueOf(s.trim().hashCode()); } // management