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) {
|
protected String hashJson(String s) {
|
||||||
// s = StringUtils.remove(s, ' ');
|
return String.valueOf(s.trim().hashCode());
|
||||||
s = StringUtils.remove(s, '\n');
|
|
||||||
s = StringUtils.remove(s, '\r');
|
|
||||||
return String.valueOf(s.hashCode());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// management
|
// management
|
||||||
|
|
Loading…
Reference in New Issue