harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r1004800 - /harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/util/SimpleAnnotationValueVisitor6.java
Date Tue, 05 Oct 2010 20:03:07 GMT
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);
     }
 



Mime
View raw message