Skip to content

Remove commented out code

b58e621
Select commit
Loading
Failed to load commit list.
Merged

Mockito5 #393

Remove commented out code
b58e621
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 28, 2025 in 35s

Annotations

Check warning on line 61 in src/test/java/world/bentobox/level/LevelTest.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_Level&issues=AZrLYFJOB0AN-b6vb7d3&open=AZrLYFJOB0AN-b6vb7d3&pullRequest=393

Check warning on line 214 in src/test/java/world/bentobox/level/CommonTestSetup.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "MetadataValue"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFKBB0AN-b6vb7eS&open=AZrLYFKBB0AN-b6vb7eS&pullRequest=393

Check warning on line 214 in src/test/java/world/bentobox/level/CommonTestSetup.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "FixedMetadataValue"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFKBB0AN-b6vb7eT&open=AZrLYFKBB0AN-b6vb7eT&pullRequest=393

Check warning on line 300 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7eB&open=AZrLYFJgB0AN-b6vb7eB&pullRequest=393

Check warning on line 160 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d5&open=AZrLYFJgB0AN-b6vb7d5&pullRequest=393

Check warning on line 321 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7eD&open=AZrLYFJgB0AN-b6vb7eD&pullRequest=393

Check failure on line 50 in src/test/java/world/bentobox/level/TestWorldSettings.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFJpB0AN-b6vb7eF&open=AZrLYFJpB0AN-b6vb7eF&pullRequest=393

Check warning on line 259 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d-&open=AZrLYFJgB0AN-b6vb7d-&pullRequest=393

Check warning on line 221 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d8&open=AZrLYFJgB0AN-b6vb7d8&pullRequest=393

Check warning on line 140 in src/test/java/world/bentobox/level/CommonTestSetup.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFKBB0AN-b6vb7eR&open=AZrLYFKBB0AN-b6vb7eR&pullRequest=393

Check warning on line 33 in src/test/java/world/bentobox/level/commands/AdminStatsCommandTest.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_Level&issues=AZrLYFIHB0AN-b6vb7dr&open=AZrLYFIHB0AN-b6vb7dr&pullRequest=393

Check warning on line 169 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d6&open=AZrLYFJgB0AN-b6vb7d6&pullRequest=393

Check warning on line 163 in src/test/java/world/bentobox/level/LevelsManagerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "setInitialLevel"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFJ4B0AN-b6vb7eL&open=AZrLYFJ4B0AN-b6vb7eL&pullRequest=393

Check warning on line 275 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d_&open=AZrLYFJgB0AN-b6vb7d_&pullRequest=393

Check warning on line 180 in src/test/java/world/bentobox/level/LevelsManagerTest.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_Level&issues=AZrLYFJ4B0AN-b6vb7eO&open=AZrLYFJ4B0AN-b6vb7eO&pullRequest=393

Check warning on line 109 in src/test/java/world/bentobox/level/commands/AdminTopRemoveCommandTest.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_Level&issues=AZrLYFI8B0AN-b6vb7dv&open=AZrLYFI8B0AN-b6vb7dv&pullRequest=393

Check warning on line 100 in src/test/java/world/bentobox/level/commands/AdminTopRemoveCommandTest.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_Level&issues=AZrLYFI8B0AN-b6vb7du&open=AZrLYFI8B0AN-b6vb7du&pullRequest=393

Check warning on line 291 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7eA&open=AZrLYFJgB0AN-b6vb7eA&pullRequest=393

Check warning on line 218 in src/test/java/world/bentobox/level/LevelTest.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_Level&issues=AZrLYFJOB0AN-b6vb7d1&open=AZrLYFJOB0AN-b6vb7d1&pullRequest=393

Check warning on line 238 in src/test/java/world/bentobox/level/CommonTestSetup.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_Level&issues=AZrLYFKBB0AN-b6vb7eU&open=AZrLYFKBB0AN-b6vb7eU&pullRequest=393

Check warning on line 82 in src/test/java/world/bentobox/level/LevelsManagerTest.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_Level&issues=AZrLYFJ4B0AN-b6vb7eG&open=AZrLYFJ4B0AN-b6vb7eG&pullRequest=393

Check warning on line 177 in src/test/java/world/bentobox/level/LevelsManagerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "createInventory"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZrLYFJ4B0AN-b6vb7eN&open=AZrLYFJ4B0AN-b6vb7eN&pullRequest=393

Check warning on line 129 in src/test/java/world/bentobox/level/commands/AdminTopRemoveCommandTest.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_Level&issues=AZrLYFI8B0AN-b6vb7dx&open=AZrLYFI8B0AN-b6vb7dx&pullRequest=393

Check warning on line 104 in src/test/java/world/bentobox/level/commands/AdminStatsCommandTest.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_Level&issues=AZrLYFIHB0AN-b6vb7dq&open=AZrLYFIHB0AN-b6vb7dq&pullRequest=393

Check warning on line 238 in src/test/java/world/bentobox/level/PlaceholderManagerTest.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_Level&issues=AZrLYFJgB0AN-b6vb7d9&open=AZrLYFJgB0AN-b6vb7d9&pullRequest=393