Fix annotation order

This commit is contained in:
Alexander Söderberg 2020-10-05 17:56:12 +02:00
parent 72e578ff22
commit d6a2062069
No known key found for this signature in database
GPG key ID: FACEA5B0F4C1BF80
8 changed files with 14 additions and 14 deletions

View file

@ -238,7 +238,7 @@ public final class CloudBrigadierManager<C, S> {
final @NonNull ArgumentParser<C, T> argument) {
final Supplier<ArgumentType<?>> argumentTypeSupplier = this.defaultArgumentTypeSuppliers
.get(GenericTypeReflector.erase(clazz.getType()));
@Nullable final ArgumentType<?> defaultType;
final @Nullable ArgumentType<?> defaultType;
if (argumentTypeSupplier != null) {
defaultType = argumentTypeSupplier.get();
} else {