✨ Fix annotation order
This commit is contained in:
parent
72e578ff22
commit
d6a2062069
8 changed files with 14 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ public class BukkitPluginRegistrationHandler<C> implements CommandRegistrationHa
|
|||
* @param alias Alias
|
||||
* @return {@code true} if the alias is recognized, else {@code false}
|
||||
*/
|
||||
public boolean isRecognized(@NonNull final String alias) {
|
||||
public boolean isRecognized(final @NonNull String alias) {
|
||||
return this.recognizedAliases.contains(alias);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue