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

@ -79,5 +79,4 @@ public abstract class CustomUser {
public final @NonNull MessageChannel getChannel() {
return this.channel;
}
}

View file

@ -148,5 +148,4 @@ public final class ExampleBot {
textChannel.sendMessage(user.getName() + " kicked").complete();
}));
}
}

View file

@ -41,7 +41,11 @@ public final class GuildUser extends CustomUser {
* @param member Guild member that sent the message
* @param channel Text channel that the message was sent in
*/
public GuildUser(final @Nullable MessageReceivedEvent event, final @NonNull Member member, final @NonNull TextChannel channel) {
public GuildUser(
final @Nullable MessageReceivedEvent event,
final @NonNull Member member,
final @NonNull TextChannel channel
) {
super(event, member.getUser(), channel);
this.member = member;
this.channel = channel;
@ -64,5 +68,4 @@ public final class GuildUser extends CustomUser {
public @NonNull TextChannel getTextChannel() {
return this.channel;
}
}

View file

@ -73,5 +73,4 @@ public final class PermissionRegistry {
this.permissions.putIfAbsent(userId, new HashSet<>());
return this.permissions.get(userId);
}
}

View file

@ -40,7 +40,11 @@ public final class PrivateUser extends CustomUser {
* @param user User that sent the message
* @param channel Text channel that the message was sent in
*/
public PrivateUser(final @Nullable MessageReceivedEvent event, final @NonNull User user, final @NonNull PrivateChannel channel) {
public PrivateUser(
final @Nullable MessageReceivedEvent event,
final @NonNull User user,
final @NonNull PrivateChannel channel
) {
super(event, user, channel);
this.privateChannel = channel;
}
@ -53,5 +57,4 @@ public final class PrivateUser extends CustomUser {
public @NonNull PrivateChannel getPrivateChannel() {
return this.privateChannel;
}
}