Make Optional.Interface repeatable (#4138)

This commit is contained in:
Thanh-Phuong authored and LexManos committed 2017-07-20 16:36:05 -05:00
1 parent cc25a58760
commit df6b628140
1 file changed
+2
@@ -20,6 +20,7 @@
package net.minecraftforge.fml.common;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@@ -56,6 +57,7 @@ public final class Optional {
* @author cpw
*
*/
@Repeatable(InterfaceList.class)
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Interface {