Add explict this checkstyle rule and fix violations

This commit is contained in:
broccolai 2021-01-28 09:30:10 +00:00 committed by Jason
parent a6eb44376c
commit d5259dfbe4
62 changed files with 195 additions and 192 deletions

View file

@ -69,7 +69,7 @@ public abstract class CustomUser {
* @return Sending user
*/
public final @NonNull User getUser() {
return user;
return this.user;
}
/**
@ -78,7 +78,7 @@ public abstract class CustomUser {
* @return Message channel
*/
public final @NonNull MessageChannel getChannel() {
return channel;
return this.channel;
}
}

View file

@ -53,7 +53,7 @@ public final class GuildUser extends CustomUser {
* @return Sending member
*/
public @NonNull Member getMember() {
return member;
return this.member;
}
/**
@ -62,7 +62,7 @@ public final class GuildUser extends CustomUser {
* @return Message channel
*/
public @NonNull TextChannel getTextChannel() {
return channel;
return this.channel;
}
}

View file

@ -51,7 +51,7 @@ public final class PrivateUser extends CustomUser {
* @return Private channel
*/
public @NonNull PrivateChannel getPrivateChannel() {
return privateChannel;
return this.privateChannel;
}
}