Completely refactor player listener #161
pr.checkstyle.yml
on: pull_request
checkstyle
/
checkstyle
24s
Annotations
7 warnings
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L208
[checkstyle] reported by reviewdog 🐶
Return count is 3 (max allowed for void methods/constructors/lambdas is 1).
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:208:5: info: Return count is 3 (max allowed for void methods/constructors/lambdas is 1). (com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L224
[checkstyle] reported by reviewdog 🐶
The String "No further actions will be taken by Multiverse-Core." appears 2 times in the file.
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:224:23: warning: The String "No further actions will be taken by Multiverse-Core." appears 2 times in the file. (com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L250
[checkstyle] reported by reviewdog 🐶
More than 4 parameters (found 5).
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:250:18: info: More than 4 parameters (found 5). (ConsiderLessMethodParameters)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L252
[checkstyle] reported by reviewdog 🐶
Lambda body length is 16 lines (max allowed is 10).
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:252:66: info: Lambda body length is 16 lines (max allowed is 10). (LambdaGettingTooLong)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L266
[checkstyle] reported by reviewdog 🐶
The String "Teleport result: %s" appears 2 times in the file.
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:266:26: warning: The String "Teleport result: %s" appears 2 times in the file. (com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L299
[checkstyle] reported by reviewdog 🐶
Return count is 2 (max allowed for void methods/constructors/lambdas is 1).
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:299:5: info: Return count is 2 (max allowed for void methods/constructors/lambdas is 1). (com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck)
|
checkstyle / checkstyle:
src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java#L318
[checkstyle] reported by reviewdog 🐶
Lambda body length is 11 lines (max allowed is 10).
Raw Output:
/github/workspace/./src/main/java/org/mvplugins/multiverse/core/listeners/MVPlayerListener.java:318:81: info: Lambda body length is 11 lines (max allowed is 10). (LambdaGettingTooLong)
|