Repository: groovy Updated Branches: refs/heads/master 66ada6915 -> c15b4c55d
typo Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c15b4c55 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c15b4c55 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c15b4c55 Branch: refs/heads/master Commit: c15b4c55d27c8c8cf949e03a0f81eab9aedc7a79 Parents: 66ada69 Author: Paul King <[email protected]> Authored: Mon Apr 16 21:41:09 2018 +1000 Committer: Paul King <[email protected]> Committed: Mon Apr 16 21:42:46 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/c15b4c55/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 3ae2bd5..bc413a0 100644 --- a/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java +++ b/src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java @@ -1764,7 +1764,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>
