WenFeiYi commented on a change in pull request #2623:
URL: https://github.com/apache/hbase/pull/2623#discussion_r517068885



##########
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:
       good idea




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to