mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
Only trim whitespace outside of the json
This commit is contained in:
parent
6d0883468b
commit
f835c7efe4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user