virajjasani commented on a change in pull request #2623:
URL: https://github.com/apache/hbase/pull/2623#discussion_r516578789
##########
File path: hbase-common/src/main/java/org/apache/hadoop/hbase/util/GsonUtil.java
##########
@@ -43,7 +43,7 @@ private GsonUtil() {
*/
public static GsonBuilder createGson() {
return new
GsonBuilder().setLongSerializationPolicy(LongSerializationPolicy.STRING)
- .registerTypeAdapter(LongAdder.class, new TypeAdapter<LongAdder>() {
+ .disableHtmlEscaping().registerTypeAdapter(LongAdder.class, new
TypeAdapter<LongAdder>() {
Review comment:
Can we have separate method `createGsonWithDisableHtmlEscape()` for
`RpcServer.logResponse()` since this one is being used at so many places?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]