You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by od...@apache.org on 2010/10/05 22:03:07 UTC
svn commit: r1004800 -
/harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java
Author: odeakin
Date: Tue Oct 5 20:03:07 2010
New Revision: 1004800
URL: http://svn.apache.org/viewvc?rev=1004800&view=rev
Log:
Signature of SimpleAnnotationValueVisitor6.visitArray() should be (List<? extends AnnotationValue> vals, P p) according to the spec.
Modified:
harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java
Modified: harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java?rev=1004800&r1=1004799&r2=1004800&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java (original)
+++ harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java Tue Oct 5 20:03:07 2010
@@ -21,6 +21,7 @@ import java.util.List;
import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.AnnotationMirror;
+import javax.lang.model.element.AnnotationValue;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
@@ -46,7 +47,7 @@ public class SimpleAnnotationValueVisito
return defaultAction(a, p);
}
- public R visitArray(List vals, P p) {
+ public R visitArray(List<? extends AnnotationValue> vals, P p) {
return defaultAction(vals, p);
}