Skip to content

Static analysis code clean up

1c04e76
Select commit
Loading
Failed to load commit list.
Merged

Test additions #467

Static analysis code clean up
1c04e76
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Dec 7, 2025 in 50s

Annotations

Check warning on line 211 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.bukkit.configuration.InvalidConfigurationException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0S&open=AZr2IxZ2FDjduF-gPs0S&pullRequest=467

Check warning on line 259 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.bukkit.configuration.InvalidConfigurationException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0U&open=AZr2IxZ2FDjduF-gPs0U&pullRequest=467

Check warning on line 134 in src/test/java/world/bentobox/aoneblock/commands/island/IslandRespawnBlockCommandTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2D6zWv78fvmSAf6fL&open=AZr2D6zWv78fvmSAf6fL&pullRequest=467

Check warning on line 369 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0R&open=AZr2IxZ2FDjduF-gPs0R&pullRequest=467

Check warning on line 229 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.bukkit.configuration.InvalidConfigurationException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0T&open=AZr2IxZ2FDjduF-gPs0T&pullRequest=467

Check failure on line 369 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0N&open=AZr2IxZ2FDjduF-gPs0N&pullRequest=467

Check warning on line 54 in src/test/java/world/bentobox/aoneblock/commands/island/IslandRespawnBlockCommandTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the "@Override" annotation above this method signature

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2D6zWv78fvmSAf6fJ&open=AZr2D6zWv78fvmSAf6fJ&pullRequest=467

Check warning on line 171 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0O&open=AZr2IxZ2FDjduF-gPs0O&pullRequest=467

Check warning on line 185 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0P&open=AZr2IxZ2FDjduF-gPs0P&pullRequest=467

Check warning on line 79 in src/test/java/world/bentobox/aoneblock/commands/island/IslandRespawnBlockCommandTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the "@Override" annotation above this method signature

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2D6zWv78fvmSAf6fK&open=AZr2D6zWv78fvmSAf6fK&pullRequest=467

Check warning on line 245 in src/test/java/world/bentobox/aoneblock/oneblocks/OneBlocksManagerTest3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_AOneBlock&issues=AZr2IxZ2FDjduF-gPs0Q&open=AZr2IxZ2FDjduF-gPs0Q&pullRequest=467