Kota-SH commented on code in PR #6999:
URL: https://github.com/apache/hbase/pull/6999#discussion_r2109792159


##########
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:
   I think STATIC and TRANSIENT are default exclusions, so if we are explicitly 
adding TRANSIENT, we may have to do STATIC as well. 
   Do we need to do for PRIVATE? 



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