Skip to content

Update system.

229c7f9
Select commit
Loading
Failed to load commit list.
Open

Kryptonite 2.1.0 #58

Update system.
229c7f9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 21, 2025 in 20s

Annotations

Check warning on line 34 in src/main/java/net/lewmc/kryptonite/utils/config/StringConfigItem.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 8 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjyOfcRMw-kuvo0fSTs&open=AZjyOfcRMw-kuvo0fSTs&pullRequest=58

Check warning on line 13 in src/main/java/net/lewmc/kryptonite/utils/config/ConfigCollection.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx2Oc1FWoXVOxZSnCH&open=AZjx2Oc1FWoXVOxZSnCH&pullRequest=58

Check warning on line 68 in src/main/java/net/lewmc/kryptonite/utils/LogUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1JBlTU0eG3wvjv&open=AZjxxh1JBlTU0eG3wvjv&pullRequest=58

Check warning on line 105 in src/main/java/net/lewmc/kryptonite/utils/LogUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1JBlTU0eG3wvjy&open=AZjxxh1JBlTU0eG3wvjy&pullRequest=58

Check warning on line 78 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_ConfigItemGui.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "config" which hides the field declared at line 29.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx2OgaFWoXVOxZSnCK&open=AZjx2OgaFWoXVOxZSnCK&pullRequest=58

Check warning on line 20 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_PaperWorld_4.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx5NGPtV-kjpNfXgFE&open=AZjx5NGPtV-kjpNfXgFE&pullRequest=58

Check warning on line 13 in src/main/java/net/lewmc/kryptonite/utils/config/ConfigCollection.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The type of "values" should be an interface such as "Map" rather than the implementation "LinkedHashMap".

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZqjoKHuGWVyRDtT6Wvg&open=AZqjoKHuGWVyRDtT6Wvg&pullRequest=58

Check warning on line 66 in src/main/java/net/lewmc/kryptonite/utils/config/GenericConfigItem.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change the visibility of this constructor to "protected".

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjyOfZ2Mw-kuvo0fSTp&open=AZjyOfZ2Mw-kuvo0fSTp&pullRequest=58

Check failure on line 67 in src/main/java/net/lewmc/kryptonite/config/SpigotConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "The distance the server will 'activate'" 6 times.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZqmdueMFCsZUSceUecb&open=AZqmdueMFCsZUSceUecb&pullRequest=58

Check warning on line 80 in src/main/java/net/lewmc/kryptonite/utils/LogUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1JBlTU0eG3wvjw&open=AZjxxh1JBlTU0eG3wvjw&pullRequest=58

Check failure on line 153 in src/main/java/net/lewmc/kryptonite/config/LeafConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Async Entity Tracker Queue Size" 3 times.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZlTsKZ5KLOmRGnf6aqh&open=AZlTsKZ5KLOmRGnf6aqh&pullRequest=58

Check warning on line 24 in src/main/java/net/lewmc/kryptonite/utils/LogUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1JBlTU0eG3wvjs&open=AZjxxh1JBlTU0eG3wvjs&pullRequest=58

Check warning on line 92 in src/main/java/net/lewmc/kryptonite/utils/LogUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1JBlTU0eG3wvjx&open=AZjxxh1JBlTU0eG3wvjx&pullRequest=58

Check warning on line 133 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_ConfigItemGui.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjyOfdiMw-kuvo0fSTt&open=AZjyOfdiMw-kuvo0fSTt&pullRequest=58

Check warning on line 28 in src/main/java/net/lewmc/kryptonite/report/Report.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=LewMC_Kryptonite&issues=AZqjoKONGWVyRDtT6Wvh&open=AZqjoKONGWVyRDtT6Wvh&pullRequest=58

Check warning on line 194 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_ConfigItemGui.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "stringItem" local variable.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx9Ay1G3rrVRV6lJKi&open=AZjx9Ay1G3rrVRV6lJKi&pullRequest=58

Check warning on line 171 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_ConfigItemGui.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx9Ay1G3rrVRV6lJKe&open=AZjx9Ay1G3rrVRV6lJKe&pullRequest=58

Check warning on line 22 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_PaperWorld_3.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx5NDOtV-kjpNfXgE5&open=AZjx5NDOtV-kjpNfXgE5&pullRequest=58

Check failure on line 217 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_ConfigItemGui.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move the update of "index" into this loop's update clause.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZqhVqaHBrpIeDYqcVuw&open=AZqhVqaHBrpIeDYqcVuw&pullRequest=58

Check warning on line 32 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_PaperWorld_1.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx5NFstV-kjpNfXgFD&open=AZjx5NFstV-kjpNfXgFD&pullRequest=58

Check failure on line 91 in src/main/java/net/lewmc/kryptonite/config/LeafConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "async.async-entity-tracker.enabled" 6 times.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjyOfjeMw-kuvo0fSTw&open=AZjyOfjeMw-kuvo0fSTw&pullRequest=58

Check warning on line 31 in src/main/java/net/lewmc/kryptonite/report/Report.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=LewMC_Kryptonite&issues=AZqjoKONGWVyRDtT6Wvi&open=AZqjoKONGWVyRDtT6Wvi&pullRequest=58

Check warning on line 20 in src/main/java/net/lewmc/kryptonite/kos/gui/KOS_PaperWorld_5.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx5NCLtV-kjpNfXgE0&open=AZjx5NCLtV-kjpNfXgE0&pullRequest=58

Check warning on line 37 in src/main/java/net/lewmc/kryptonite/Kryptonite.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make foundryConfig a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjxxh1kBlTU0eG3wvjz&open=AZjxxh1kBlTU0eG3wvjz&pullRequest=58

Check warning on line 13 in src/main/java/net/lewmc/kryptonite/kos/config/PaperWorld.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=LewMC_Kryptonite&issues=AZjx5NKWtV-kjpNfXgFT&open=AZjx5NKWtV-kjpNfXgFT&pullRequest=58