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 2018/04/16 11:41:15 UTC
groovy git commit: typo
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_5_X a5e453979 -> a943a95ac
typo
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/a943a95a
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/a943a95a
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/a943a95a
Branch: refs/heads/GROOVY_2_5_X
Commit: a943a95acb2eb1d0cd608ec46cf5b8a81dca64fa
Parents: a5e4539
Author: Paul King <pa...@asert.com.au>
Authored: Mon Apr 16 21:41:09 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Mon Apr 16 21:41:09 2018 +1000
----------------------------------------------------------------------
.../codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/a943a95a/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java b/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
index ae59909..ad9ef39 100644
--- a/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
+++ b/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
@@ -1758,7 +1758,7 @@ public abstract class StaticTypeCheckingSupport {
* * For type !instanceof target a structural compare will be done
* (for example Dummy<T> and List<R> to get T=R)
* * If type equals target, a structural match is done as well
- * (for example Colection<U> and Collection<E> to get U=E)
+ * (for example Collection<U> and Collection<E> to get U=E)
* * otherwise we climb the hierarchy to find a case of type equals target
* to then execute the structural match, while applying possibly existing
* generics contexts on the way (for example for IntRange and Collection<E>