You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/11/11 22:09:52 UTC

[groovy] branch GROOVY_2_5_X updated: tweak for antlr2 grammar differences

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new d7f108f  tweak for antlr2 grammar differences
d7f108f is described below

commit d7f108fc5c5defddf0cb8a9f1db1e9a700879037
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Nov 12 08:09:40 2019 +1000

    tweak for antlr2 grammar differences
---
 src/main/groovy/groovy/grape/GrapeIvy.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/groovy/groovy/grape/GrapeIvy.groovy b/src/main/groovy/groovy/grape/GrapeIvy.groovy
index d2e2386..c70ab67 100644
--- a/src/main/groovy/groovy/grape/GrapeIvy.groovy
+++ b/src/main/groovy/groovy/grape/GrapeIvy.groovy
@@ -795,14 +795,14 @@ class IvyGrabRecord {
     @Override
     boolean equals(Object that) {
         if (that instanceof IvyGrabRecord) {
-            return (this.mrid == that.mrid)
+            return ((this.mrid == that.mrid)
                 && (this.conf == that.conf)
                 && (this.changing == that.changing)
                 && (this.transitive == that.transitive)
                 && (this.force == that.force)
                 && (this.classifier == that.classifier)
                 && (this.ext == that.ext)
-                && (this.type == that.type)
+                && (this.type == that.type))
         }
     }
 }