Purge region files for soft-deleted islands #2933
Quality Gate passed
Annotations
Check warning on line 369 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7l&open=AZ13dC9T4DHL4DET9q7l&pullRequest=2933
Check failure on line 257 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Island ID " 3 times.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7j&open=AZ13dC9T4DHL4DET9q7j&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Mockito.times'.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ2L9PePpWqvzbqKjAqD&open=AZ2L9PePpWqvzbqKjAqD&pullRequest=2933
Check failure on line 224 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7k&open=AZ13dC9T4DHL4DET9q7k&pullRequest=2933
Check failure on line 313 in src/main/java/world/bentobox/bentobox/managers/HousekeepingManager.java
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Housekeeping " 3 times.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9e4DHL4DET9q7n&open=AZ13dC9e4DHL4DET9q7n&pullRequest=2933
Check warning on line 374 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7m&open=AZ13dC9T4DHL4DET9q7m&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.any'.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC8G4DHL4DET9q7b&open=AZ13dC8G4DHL4DET9q7b&pullRequest=2933
Check warning on line 328 in src/main/java/world/bentobox/bentobox/Settings.java
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC-94DHL4DET9q7o&open=AZ13dC-94DHL4DET9q7o&pullRequest=2933
Check warning on line 1052 in src/main/java/world/bentobox/bentobox/Settings.java
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ2L9PkQpWqvzbqKjAqE&open=AZ2L9PkQpWqvzbqKjAqE&pullRequest=2933
Check warning on line 1037 in src/main/java/world/bentobox/bentobox/Settings.java
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC-94DHL4DET9q7p&open=AZ13dC-94DHL4DET9q7p&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this and every subsequent useless "eq(...)" invocation; pass the values directly.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC8Q4DHL4DET9q7d&open=AZ13dC8Q4DHL4DET9q7d&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.Collections'.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC8G4DHL4DET9q7c&open=AZ13dC8G4DHL4DET9q7c&pullRequest=2933
Check warning on line 613 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7i&open=AZ13dC9T4DHL4DET9q7i&pullRequest=2933
Check warning on line 243 in src/main/java/world/bentobox/bentobox/managers/PurgeRegionsService.java
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC9T4DHL4DET9q7h&open=AZ13dC9T4DHL4DET9q7h&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this expression which always evaluates to "true"
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC8x4DHL4DET9q7g&open=AZ13dC8x4DHL4DET9q7g&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "owner2" local variable.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC1G4DHL4DET9q7a&open=AZ13dC1G4DHL4DET9q7a&pullRequest=2933
Check warning on line 1064 in src/main/java/world/bentobox/bentobox/Settings.java
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ2L9PkQpWqvzbqKjAqF&open=AZ2L9PkQpWqvzbqKjAqF&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this useless assignment to local variable "owner2".
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC1G4DHL4DET9q7Z&open=AZ13dC1G4DHL4DET9q7Z&pullRequest=2933
sonarqubecloud / SonarCloud Code Analysis
Remove this and every subsequent useless "eq(...)" invocation; pass the values directly.
See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_BentoBox&issues=AZ13dC8Q4DHL4DET9q7e&open=AZ13dC8Q4DHL4DET9q7e&pullRequest=2933