Removed Class target for the SubCommand Annotation as it makes no sense on a class

This commit is contained in:
tueem 2024-10-14 00:53:00 +02:00
parent 7a4bfbb6f8
commit 7fb27795d9
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

@ -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();