fix problem with whitespace in terminology caching

This commit is contained in:
Grahame Grieve 2023-08-03 20:26:57 +10:00
parent 6950dba75b
commit 24d67798d6
1 changed files with 3 additions and 3 deletions

View File

@ -695,9 +695,9 @@ public class TerminologyCache {
}
protected String hashJson(String s) {
s = StringUtils.remove(s, ' ');
s = StringUtils.remove(s, '\n');
s = StringUtils.remove(s, '\r');
// s = StringUtils.remove(s, ' ');
// s = StringUtils.remove(s, '\n');
// s = StringUtils.remove(s, '\r');
return String.valueOf(s.hashCode());
}