chore: make code style consistent
This commit is contained in:
parent
a2cea2f33e
commit
89ec3fbf29
380 changed files with 479 additions and 936 deletions
|
|
@ -110,5 +110,4 @@ public final class CloudInjectionModule<C> extends AbstractModule {
|
|||
final Key backwardsCommandSenderMapperFunctionKey = Key.get(backwardsCommandSenderMapperFunction);
|
||||
this.bind(backwardsCommandSenderMapperFunctionKey).toInstance(this.backwardsCommandSenderMapper);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,5 +65,4 @@ public final class VelocityCaptionKeys {
|
|||
public static @NonNull Collection<@NonNull Caption> getVelocityCaptionKeys() {
|
||||
return Collections.unmodifiableCollection(RECOGNIZED_CAPTIONS);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,5 +177,4 @@ public class VelocityCommandManager<C> extends CommandManager<C> implements Brig
|
|||
final @NonNull Function<@NonNull C, @NonNull CommandSource> backwardsCommandSenderMapper() {
|
||||
return this.backwardsCommandSenderMapper;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,5 +54,4 @@ final class VelocityCommandPreprocessor<C> implements CommandPreprocessor<C> {
|
|||
this.mgr.proxyServer()
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,5 +46,4 @@ public final class VelocityContextKeys {
|
|||
|
||||
private VelocityContextKeys() {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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> {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,5 +85,4 @@ final class VelocityPluginRegistrationHandler<C> implements CommandRegistrationH
|
|||
@NonNull CloudBrigadierManager<C, CommandSource> brigadierManager() {
|
||||
return this.brigadierManager;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue