Skip to content

Polish: improve clarity of comments and variable names from code review

7d5b8db
Select commit
Loading
Failed to load commit list.
Merged

Add custom block support (Oraxen/Nexo/ItemsAdder/CraftEngine) in value, detail, and donate menus #425

Polish: improve clarity of comments and variable names from code review
7d5b8db
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 7, 2026 in 34s

Annotations

Check warning on line 771 in src/main/java/world/bentobox/level/panels/DetailsPanel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'ItemBuilder::build'.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZ4EslRMI8ZoIQNOeR0f&open=AZ4EslRMI8ZoIQNOeR0f&pullRequest=425

Check failure on line 96 in src/main/java/world/bentobox/level/commands/IslandDonateCommand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "island.donate.hand.not-block" 3 times.

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZ4EslOXI8ZoIQNOeR0d&open=AZ4EslOXI8ZoIQNOeR0d&pullRequest=425

Check warning on line 749 in src/main/java/world/bentobox/level/panels/DetailsPanel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=BentoBoxWorld_Level&issues=AZ4EslRMI8ZoIQNOeR0e&open=AZ4EslRMI8ZoIQNOeR0e&pullRequest=425