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
|
* @return a new {@code or} permission
|
||||||
* @since 1.4.0
|
* @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");
|
requireNonNull(other, "other");
|
||||||
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
||||||
permission.add(this);
|
permission.add(this);
|
||||||
|
|
@ -104,7 +104,7 @@ public interface CommandPermission {
|
||||||
* @return a new {@code and} permission
|
* @return a new {@code and} permission
|
||||||
* @since 1.4.0
|
* @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");
|
requireNonNull(other, "other");
|
||||||
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
final Set<CommandPermission> permission = new HashSet<>(other.length + 1);
|
||||||
permission.add(this);
|
permission.add(this);
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
||||||
*/
|
*/
|
||||||
public final class FabricParserParameters {
|
public final class FabricParserParameters {
|
||||||
|
|
||||||
|
private FabricParserParameters() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates that positions should be centered on the middle of blocks, i.e. x.5.
|
* Indicates that positions should be centered on the middle of blocks, i.e. x.5.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue