[ 
https://issues.apache.org/jira/browse/GEODE-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118912#comment-17118912
 ] 

ASF GitHub Bot commented on GEODE-7864:
---------------------------------------

DonalEvans commented on a change in pull request #4866:
URL: https://github.com/apache/geode/pull/4866#discussion_r431995682



##########
File path: 
geode-junit/src/main/java/org/apache/geode/pdx/TestObjectForJSONFormatter.java
##########
@@ -992,6 +993,34 @@ boolean compareMaps(Map m1, Map m2) {
     return true;
   }
 
+  @Override
+  public int hashCode() {
+    int result =
+        Objects
+            .hash(p_bool, p_byte, p_short, p_int, p_long, p_float, p_double, 
w_bool, w_byte,
+                w_short,
+                w_int, w_long, w_bigInt, w_float, w_bigDec, w_double, 
w_string, c_list, c_set,
+                c_queue, c_deque, m_empByCity, day);

Review comment:
       Could this be formatted slightly neater? The following seems to make 
spotless happy on my machine:
   ```suggestion
       int result =
           Objects
               .hash(p_bool, p_byte, p_short, p_int, p_long, p_float, p_double, 
w_bool, w_byte,
                   w_short,
                   w_int, w_long, w_bigInt, w_float, w_bigDec, w_double, 
w_string, c_list, c_set,
                   c_queue, c_deque, m_empByCity, day);
   ```




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


> Code improvement refactoring
> ----------------------------
>
>                 Key: GEODE-7864
>                 URL: https://issues.apache.org/jira/browse/GEODE-7864
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Nabarun Nag
>            Priority: Major
>          Time Spent: 13h 10m
>  Remaining Estimate: 0h
>
> This is a placeholder ticket.
>  * this is used to do refactoring.
>  * this ticket number is used to number the commit message.
>  * this ticket will never be closed.
>  * it will be used to mark improvements like correcting spelling mistakes, 
> efficient java code, etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to