feat(minecraft): update to 26.3-snapshot-9 #1218
check-spotless.yaml
on: push
call-check
/
check
2m 2s
Annotations
10 warnings
|
call-check / check:
src/main/java/org/spongepowered/api/registry/Registry.java#L145
[TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution.
|
|
call-check / check:
src/main/java/org/spongepowered/api/registry/Registry.java#L122
[TypeParameterUnusedInFormals] Declaring a type parameter that is only used in the return type is a misuse of generics: operations on the type parameter are unchecked, it hides unsafe casts at invocations of the method, and it interacts badly with method overload resolution.
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/weighted/VariableAmount.java#L447
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/weighted/VariableAmount.java#L375
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/weighted/VariableAmount.java#L312
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/weighted/VariableAmount.java#L251
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/weighted/WeightedTable.java#L242
[EffectivelyPrivate] This declaration has public or protected modifiers, but is effectively private.
|
|
call-check / check:
src/main/java/org/spongepowered/api/world/Locatable.java#L62
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/data/type/ItemAction.java#L78
[varargs] Varargs method could cause heap pollution from non-reifiable varargs parameter effectTypes
|
|
call-check / check:
src/main/java/org/spongepowered/api/util/ComponentMessageException.java#L41
[serial] non-transient instance field of a serializable class declared with a non-serializable type
|