groovy git commit: fix build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: fix build

paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X f028da7b3 -> a5e453979


fix build


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/a5e45397
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/a5e45397
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/a5e45397

Branch: refs/heads/GROOVY_2_5_X
Commit: a5e4539799fa832da7fd36387fec2acd17c371ef
Parents: f028da7
Author: Paul King <[hidden email]>
Authored: Mon Apr 16 16:34:30 2018 +1000
Committer: Paul King <[hidden email]>
Committed: Mon Apr 16 16:34:30 2018 +1000

----------------------------------------------------------------------
 .../java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/a5e45397/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index e7f43c6..a9aaa7b 100644
--- a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -12223,7 +12223,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport {
      * @since 1.5.6
      */
     public static <T> Collection<T> intersect(Collection<T> left, Collection<T> right) {
-        return intersect(left, right, new NumberAwareComparator<>());
+        return intersect(left, right, new NumberAwareComparator<T>());
     }
 
     /**