< prev index next >

test/langtools/tools/javac/annotations/typeAnnotations/referenceinfos/MethodParameters.java

Print this page
8200128: Fix some "annoations" typos
Reviewed-by: alanb

@@ -221,11 +221,11 @@
     @TADescription(annotation = "RTAs", type = METHOD_FORMAL_PARAMETER, paramIndex = 1)
     @TADescription(annotation = "RTBs", type = METHOD_FORMAL_PARAMETER,
             genericLocation = { 0, 0 }, paramIndex = 1)
     @TADescription(annotation = "RTCs", type = METHOD_FORMAL_PARAMETER,
             genericLocation = { 0, 0, 0, 0 }, paramIndex = 1)
-    public String methodParamAsVarargRepeatableAnnoattion() {
+    public String methodParamAsVarargRepeatableAnnotation() {
         return "void test(Object b, @RTC @RTC String @RTA @RTA [] @RTB @RTB ... a) { }";
     }
 
     @TADescription(annotation = "RTAs", type = METHOD_FORMAL_PARAMETER, paramIndex = 1)
     @TADescription(annotation = "RTBs", type = METHOD_FORMAL_PARAMETER,
< prev index next >