Permalink
Browse files

Update the comment about parameterized types, inheritance and overloa…

…ding.
  • Loading branch information...
1 parent 418b3b5 commit 820cbd4c4356d41699f1a1d55845c77dce7b3d12 @russel russel committed May 31, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main/groovy/org/codehaus/gant/GantMetaClass.java
@@ -179,10 +179,10 @@ private Object processArgument ( final Object argument ) {
return invokeMethod ( this , name , args ) ;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////
- // As at 2010-10-08 it is believed that groovy.lang.MetaClass (the invokeMethod method anyway) has
- // not been marked up for Java generics in any branch of Groovy (1.6, 1.7, trunk). This leads to the
- // problem that blah(Class<?>) does not override blah(Class) -- at least according to Eclipse. So we
- // must leave the Class type without a type parameter and suffer the compilation warning.
+ // As at 2012-05-31 it is believed that groovy.lang.DelegatingMetaClass (the invokeMethod method
+ // anyway) has not been marked up for Java generics in any branch of Groovy (1.8, 2.0, master).
+ // This leads to the problem that blah(Class<?>) does not override blah(Class). So we must leave
+ // the Class type without a type parameter and suffer the compilation warning.
//
// TODO : Class -> Class<?> when the Eclipse plugin and the Groovy code base allow.
//////////////////////////////////////////////////////////////////////////////////////////////////////////

0 comments on commit 820cbd4

Please sign in to comment.