groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pditommaso <...@git.apache.org>
Subject [GitHub] groovy pull request #566: Added IgnoreDefaultEqualsAndToString
Date Tue, 06 Feb 2018 10:32:29 GMT
Github user pditommaso commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/566#discussion_r166250753
  
    --- Diff: src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java ---
    @@ -12026,6 +12026,9 @@ public static boolean equals(List left, List right) {
             if (left == right) {
                 return true;
             }
    +        if( left.getClass().getAnnotation(IgnoreDefaultEqualsAndToString.class)!=null
&& right.getClass().getAnnotation(IgnoreDefaultEqualsAndToString.class)!=null ) {
    --- End diff --
    
    Could you suggest a possible metrics/benchmark ?


---

Mime
View raw message