Reformat project

This commit is contained in:
broccolai 2020-12-07 12:01:30 +00:00 committed by Alexander Söderberg
parent 01d36aecd8
commit 237eda75ef
30 changed files with 130 additions and 87 deletions

View file

@ -141,7 +141,8 @@ public final class AnnotationParser<C> {
final A inner = getAnnotationRecursively(
AnnotationAccessor.of(annotation.annotationType()),
clazz,
checkedAnnotations);
checkedAnnotations
);
if (inner != null) {
innerCandidate = inner;
}

View file

@ -98,7 +98,7 @@ class MethodCommandExecutionHandler<C> implements CommandExecutionHandler<C> {
this.annotationAccessor
);
if (value != null) {
break;
break;
}
}
if (value != null) {

View file

@ -33,6 +33,7 @@ import java.lang.annotation.Target;
* {@link cloud.commandframework.annotations.CommandMethod}
* <p>
* This should only be used on {@code String[]}
*
* @since 1.2.0
*/
@Target(ElementType.METHOD)