Skip to content

Merge pull request #46 from TeamFelnull/develop/weaponmechanics-update #156

Merge pull request #46 from TeamFelnull/develop/weaponmechanics-update

Merge pull request #46 from TeamFelnull/develop/weaponmechanics-update #156

GitHub Actions / Qodana Community for JVM completed Mar 6, 2024 in 0s

10 new problems found by Qodana Community for JVM

Qodana Community for JVM

10 new problems were found

Inspection name Severity Problems
'Optional' used as field or parameter type 🔶 Warning 4
Unstable API Usage 🔶 Warning 4
Constant values 🔶 Warning 1
Nullability and data flow problems 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 48 in src/main/java/dev/felnull/shortlifeplugin/gui/MatchSelectorGui.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Result of `Math.max(PVP_ROOM_SIZE, PVE_ROOM_SIZE) / ROOM_PER_PAGE_COUNT` is always '0'

Check warning on line 121 in src/main/java/dev/felnull/shortlifeplugin/listener/MatchListener.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `getStrictWorld` may produce `NullPointerException`

Check warning on line 61 in src/main/java/dev/felnull/shortlifeplugin/utils/MatchUtils.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional` used as type for parameter 'leaveWorld'

Check warning on line 122 in src/main/java/dev/felnull/shortlifeplugin/decoration/BloodExpression.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional`> used as type for parameter 'receivers'

Check warning on line 155 in src/main/java/dev/felnull/shortlifeplugin/gui/item/MatchRoomSelectItem.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional` used as type for parameter 'clickedMatch'

Check warning on line 45 in src/main/java/dev/felnull/shortlifeplugin/decoration/BloodExpression.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'Optional' used as field or parameter type

`Optional` used as type for parameter 'criticalDamageBox'

Check warning on line 279 in src/main/java/dev/felnull/shortlifeplugin/match/map/MatchMapInstanceLoader.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'HashingInputStream(com.google.common.hash.HashFunction, java.io.InputStream)' is declared in unstable class 'com.google.common.hash.HashingInputStream' marked with @Beta

Check warning on line 279 in src/main/java/dev/felnull/shortlifeplugin/match/map/MatchMapInstanceLoader.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'com.google.common.hash.HashingInputStream' is marked unstable with @Beta

Check warning on line 279 in src/main/java/dev/felnull/shortlifeplugin/match/map/MatchMapInstanceLoader.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'com.google.common.hash.HashingInputStream' is marked unstable with @Beta

Check warning on line 282 in src/main/java/dev/felnull/shortlifeplugin/match/map/MatchMapInstanceLoader.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'hash()' is declared in unstable class 'com.google.common.hash.HashingInputStream' marked with @Beta