Java 8: Make GerritConfig repeatable annotation

Change-Id: I6e823a5b2ecb960f87c7128342b811fa40e4d1ba
This commit is contained in:
David Ostrovsky
2016-10-26 09:00:51 +02:00
parent bc1062f2b6
commit df7fd81464
5 changed files with 40 additions and 51 deletions

View File

@@ -17,11 +17,13 @@ package com.google.gerrit.acceptance;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Target({METHOD})
@Retention(RUNTIME)
@Repeatable(GerritConfigs.class)
public @interface GerritConfig {
String name();
String value() default "";