Add explict this checkstyle rule and fix violations
This commit is contained in:
parent
a6eb44376c
commit
d5259dfbe4
62 changed files with 195 additions and 192 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public final class PrivateUser extends CustomUser {
|
|||
* @return Private channel
|
||||
*/
|
||||
public @NonNull PrivateChannel getPrivateChannel() {
|
||||
return privateChannel;
|
||||
return this.privateChannel;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue