chore: make code style consistent

This commit is contained in:
Citymonstret 2022-06-10 10:24:50 +02:00 committed by Jason
parent a2cea2f33e
commit 89ec3fbf29
380 changed files with 479 additions and 936 deletions

View file

@ -110,5 +110,4 @@ public final class CloudInjectionModule<C> extends AbstractModule {
final Key backwardsCommandSenderMapperFunctionKey = Key.get(backwardsCommandSenderMapperFunction);
this.bind(backwardsCommandSenderMapperFunctionKey).toInstance(this.backwardsCommandSenderMapper);
}
}

View file

@ -65,5 +65,4 @@ public final class VelocityCaptionKeys {
public static @NonNull Collection<@NonNull Caption> getVelocityCaptionKeys() {
return Collections.unmodifiableCollection(RECOGNIZED_CAPTIONS);
}
}

View file

@ -177,5 +177,4 @@ public class VelocityCommandManager<C> extends CommandManager<C> implements Brig
final @NonNull Function<@NonNull C, @NonNull CommandSource> backwardsCommandSenderMapper() {
return this.backwardsCommandSenderMapper;
}
}

View file

@ -54,5 +54,4 @@ final class VelocityCommandPreprocessor<C> implements CommandPreprocessor<C> {
this.mgr.proxyServer()
);
}
}

View file

@ -46,5 +46,4 @@ public final class VelocityContextKeys {
private VelocityContextKeys() {
}
}

View file

@ -90,11 +90,11 @@ final class VelocityExecutor<C> implements Command<CommandSource> {
NamedTextColor.RED
)
).append(
Component.text(
e.getCorrectSyntax(),
NamedTextColor.GRAY
)
).build()
Component.text(
e.getCorrectSyntax(),
NamedTextColor.GRAY
)
).build()
)
);
} else if (throwable instanceof InvalidCommandSenderException) {
@ -169,5 +169,4 @@ final class VelocityExecutor<C> implements Command<CommandSource> {
}
};
}
}

View file

@ -85,5 +85,4 @@ final class VelocityPluginRegistrationHandler<C> implements CommandRegistrationH
@NonNull CloudBrigadierManager<C, CommandSource> brigadierManager() {
return this.brigadierManager;
}
}

View file

@ -134,7 +134,6 @@ public final class PlayerArgument<C> extends CommandArgument<C, Player> {
new LinkedList<>()
);
}
}
@ -178,7 +177,6 @@ public final class PlayerArgument<C> extends CommandArgument<C, Player> {
public boolean isContextFree() {
return true;
}
}
@ -197,7 +195,5 @@ public final class PlayerArgument<C> extends CommandArgument<C, Player> {
CaptionVariable.of("input", input)
);
}
}
}

View file

@ -131,7 +131,6 @@ public final class ServerArgument<C> extends CommandArgument<C, RegisteredServer
new LinkedList<>()
);
}
}
public static final class ServerParser<C> implements ArgumentParser<C, RegisteredServer> {
@ -172,7 +171,6 @@ public final class ServerArgument<C> extends CommandArgument<C, RegisteredServer
.map(s -> s.getServerInfo().getName())
.collect(Collectors.toList());
}
}
public static final class ServerParseException extends ParserException {
@ -190,7 +188,5 @@ public final class ServerArgument<C> extends CommandArgument<C, RegisteredServer
CaptionVariable.of("input", input)
);
}
}
}