Removed Class target for the SubCommand Annotation as it makes no sense on a class
This commit is contained in:
parent
7a4bfbb6f8
commit
7fb27795d9
@ -5,7 +5,7 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.TYPE})
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface SubCommand {
|
||||
public String name();
|
||||
|
Loading…
x
Reference in New Issue
Block a user