mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 09:29:13 +00:00
Merge pull request #1381 from hapifhir/do-20230803-terminology-cache-key-trim
TerminologyCache - only trim whitespace outside of the json keys
This commit is contained in:
commit
ba6aa542f6
@ -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