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…
Reference in New Issue