Repository navigation
Merge branch 'api-20' into api-21 #1252
check-spotless.yaml
on: push
call-check
/
check
1m 42s
Annotations
10 warnings and 1 notice
|
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/event/EventContext.java#L196
[PatternMatchingInstanceof] This code can be simplified to use a pattern-matching instanceof.
|
|
call-check / check:
src/main/java/org/spongepowered/api/event/Cause.java#L390
[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
|
|
call-check / check
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|