Add checkstyle and add 950 billion comments
This commit is contained in:
parent
784656b891
commit
f90ce38a36
47 changed files with 1055 additions and 88 deletions
|
|
@ -77,7 +77,7 @@ public abstract class BukkitCommandSender implements CommandSender {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(final Object o) {
|
||||
public final boolean equals(final Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
|
|
@ -89,7 +89,7 @@ public abstract class BukkitCommandSender implements CommandSender {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
public final int hashCode() {
|
||||
return Objects.hashCode(internalSender);
|
||||
}
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ public abstract class BukkitCommandSender implements CommandSender {
|
|||
public abstract Player asPlayer();
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(@Nonnull final String permission) {
|
||||
public final boolean hasPermission(@Nonnull final String permission) {
|
||||
return this.internalSender.hasPermission(permission);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue