Skip to content

feat: java ci version to 17 #472

feat: java ci version to 17

feat: java ci version to 17 #472

GitHub Actions / Qodana completed Aug 21, 2024 in 0s

Qodana

33 problems were detected.

Details

📓 Find out how to view the whole Qodana report.
📭 Contact us at [email protected]
👀 Or via our issue tracker: https://jb.gg/qodana-issue
🔥 Or share your feedback in our Slack: https://jb.gg/qodana-slack

Annotations

Check warning on line 113 in plugin/src/main/java/net/codingarea/challenges/plugin/management/database/DatabaseManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

AutoCloseable used without 'try'-with-resources

'PreparedStatement' used without 'try'-with-resources statement

Check warning on line 57 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/ForceAdvancementBattleGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `advancementKey` might be null

Check warning on line 79 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/targets/MobTarget.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setHelmet` may produce `NullPointerException`

Check warning on line 69 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/type/abstraction/ForceBattleDisplayGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `getHelmet` may produce `NullPointerException`

Check warning on line 52 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/challenge/entities/BlockMobsChallenge.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `getItemInMainHand` may produce `NullPointerException`

Check warning on line 43 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/targets/ForceTarget.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setHelmet` may produce `NullPointerException`

Check warning on line 88 in plugin/src/main/java/net/codingarea/challenges/plugin/spigot/listener/CustomEventListener.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Variable is already assigned to this value

Check warning on line 71 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/ForceAdvancementBattleGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `BukkitReflectionUtils.fromString(advancementKey)` might be null

Check warning on line 58 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/challenge/miscellaneous/NoSharedAdvancementsChallenge.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `BukkitReflectionUtils.fromString(advancementKey)` might be null

Check warning on line 142 in plugin/src/main/java/net/codingarea/challenges/plugin/management/stats/StatsManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `result.getUUID("uuid")` might be null

Check warning on line 33 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/KillAllMonsterGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `type.getEntityClass()` might be null

Check warning on line 58 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/ForceAdvancementBattleGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `namespacedKey` might be null

Check warning on line 68 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/setting/TimberSetting.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `isUnbreakable` may produce `NullPointerException`

Check warning on line 142 in plugin/src/main/java/net/codingarea/challenges/plugin/management/stats/StatsManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `result.getString("name")` might be null

Check warning on line 63 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/challenge/entities/BlockMobsChallenge.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setHelmetDropChance` may produce `NullPointerException`

Check warning on line 227 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/ExtremeForceBattleGoal.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `NamespacedKey.fromString((String) object)` might be null

Check warning on line 31 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/custom/settings/trigger/impl/StandsOnSpecificBlockTrigger.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `event.getTo()` might be null

Check warning on line 39 in plugin/src/main/java/net/codingarea/challenges/plugin/utils/bukkit/nms/implementations/v1_13/BorderPacketFactory_1_13.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `getEnumConstants` may produce `NullPointerException`

Check warning on line 77 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/challenge/randomizer/RandomizedHPChallenge.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setBaseValue` may produce `NullPointerException`

Check warning on line 77 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/targets/MobTarget.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setHelmet` may produce `NullPointerException`

Check warning on line 41 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/goal/forcebattle/targets/ForceTarget.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `setHelmet` may produce `NullPointerException`

Check warning on line 70 in plugin/src/main/java/net/codingarea/challenges/plugin/utils/bukkit/misc/BukkitStringUtils.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Method invocation `isColor` may produce `NullPointerException`

Check warning on line 121 in plugin/src/main/java/net/codingarea/challenges/plugin/management/stats/StatsManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Nullability and data flow problems

Argument `result.getString("name")` might be null

Check warning on line 146 in plugin/src/main/java/net/codingarea/challenges/plugin/utils/misc/BlockUtils.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Statement with empty body

`if` statement has empty body

Check warning on line 52 in plugin/src/main/java/net/codingarea/challenges/plugin/challenges/implementation/setting/PregameMovementSetting.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Statement with empty body

`for` statement has empty body