fabric: fix checkstyle issues
This commit is contained in:
parent
246fa8bc1c
commit
0d5c2b0b65
2 changed files with 5 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ public interface CommandPermission {
|
|||
* @return a new {@code or} permission
|
||||
* @since 1.4.0
|
||||
*/
|
||||
default @NonNull CommandPermission or(final @NonNull CommandPermission @NonNull ... other) {
|
||||
default @NonNull CommandPermission or(final @NonNull CommandPermission @NonNull... other) {
|
||||
requireNonNull(other, "other");
|
||||
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
||||
permission.add(this);
|
||||
|
|
@ -104,7 +104,7 @@ public interface CommandPermission {
|
|||
* @return a new {@code and} permission
|
||||
* @since 1.4.0
|
||||
*/
|
||||
default @NonNull CommandPermission and(final @NonNull CommandPermission @NonNull ... other) {
|
||||
default @NonNull CommandPermission and(final @NonNull CommandPermission @NonNull... other) {
|
||||
requireNonNull(other, "other");
|
||||
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
||||
permission.add(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue