wchevreuil commented on code in PR #6999:
URL: https://github.com/apache/hbase/pull/6999#discussion_r2111463351


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/util/GsonUtil.java:
##########
@@ -43,6 +44,8 @@ private GsonUtil() {
    */
   public static GsonBuilder createGson() {
     return new 
GsonBuilder().setLongSerializationPolicy(LongSerializationPolicy.STRING)
+      
.excludeFieldsWithModifiers(Modifier.TRANSIENT).excludeFieldsWithModifiers(Modifier.STATIC)

Review Comment:
   > Do we need to exclude static and private too?
   
   We need only private, actually. I'm updating the PR accordingly.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to