Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

refactor: replace synchronized collections with ConcurrentHashMap and…

6b982e9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix/sync initial players #138

refactor: replace synchronized collections with ConcurrentHashMap and…
6b982e9
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for JVM completed Nov 23, 2025 in 0s

540 new problems found by Qodana for JVM

Qodana for JVM

540 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 425
Unused import directive 🔶 Warning 28
Unresolved reference in KDoc 🔶 Warning 27
Redundant nullable return type 🔶 Warning 6
Leaking 'this' in constructor 🔶 Warning 4
Redundant 'suspend' modifier 🔶 Warning 4
Constant conditions 🔶 Warning 3
Control flow with empty body 🔶 Warning 2
Possibly blocking call in non-blocking context 🔶 Warning 1
Incorrect formatting ◽️ Notice 21
Function or property has platform type ◽️ Notice 7
Leaking 'this' in constructor ◽️ Notice 5
@Deprecated annotation without 'replaceWith' argument ◽️ Notice 4
Condition of 'if' expression is constant ◽️ Notice 1
Convert 'object' to 'data object' ◽️ Notice 1
Redundant empty initializer block ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 135 in surf-cloud-standalone/src/main/kotlin/dev/slne/surf/cloud/standalone/plugin/manager/StandalonePluginInstanceManager.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Possibly blocking call in non-blocking context

Possibly blocking call in non-blocking context could lead to thread starvation

Check notice on line 143 in surf-cloud-core/surf-cloud-core-client/src/main/kotlin/dev/slne/surf/cloud/core/client/netty/ClientNettyClientImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Condition of 'if' expression is constant

Condition is always 'false'

Check warning on line 109 in surf-cloud-standalone/src/main/kotlin/dev/slne/surf/cloud/standalone/player/cache/ServerPlayerCache.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Control flow with empty body

'else' has empty body

Check warning on line 57 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/util/queue/AbstractSuspendingQueue.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Control flow with empty body

'while' has empty body

Check notice on line 38 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/event/offlineplayer/punishment/CloudPlayerPunishmentUpdatedEvent.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 751 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/protocol/buffer/SurfByteBuf.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

@Deprecated annotation without 'replaceWith' argument

'@Deprecated' annotation without a 'replaceWith' argument

Check notice on line 748 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/protocol/buffer/SurfByteBuf.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

@Deprecated annotation without 'replaceWith' argument

'@Deprecated' annotation without a 'replaceWith' argument

Check notice on line 637 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/protocol/buffer/SurfByteBuf.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

@Deprecated annotation without 'replaceWith' argument

'@Deprecated' annotation without a 'replaceWith' argument

Check notice on line 745 in surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/netty/protocol/buffer/SurfByteBuf.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

@Deprecated annotation without 'replaceWith' argument

'@Deprecated' annotation without a 'replaceWith' argument

Check notice on line 34 in surf-cloud-standalone/src/main/kotlin/dev/slne/surf/cloud/standalone/server/StandaloneCloudServerImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 201 in surf-cloud-api/surf-cloud-api-server/src/main/kotlin/dev/slne/surf/cloud/api/server/plugin/AdditionalStandaloneConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 207 in surf-cloud-api/surf-cloud-api-server/src/main/kotlin/dev/slne/surf/cloud/api/server/plugin/AdditionalStandaloneConfiguration.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 49 in surf-cloud-standalone/src/main/kotlin/dev/slne/surf/cloud/standalone/plugin/spring/config/DatabaseConfig.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 10 in surf-cloud-api/surf-cloud-api-server/src/main/kotlin/dev/slne/surf/cloud/api/server/command/ArgumentSuggestion.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 18 in surf-cloud-core/surf-cloud-core-common/src/main/kotlin/dev/slne/surf/cloud/core/common/server/CommonCloudServerManagerImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 158 in surf-cloud-standalone/src/main/kotlin/dev/slne/surf/cloud/standalone/player/CloudPlayerPlaytimeManager.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

Check notice on line 44 in surf-cloud-standalone/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace

Check notice on line 44 in surf-cloud-standalone/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Missing whitespace

Check notice on line 59 in surf-cloud-api/surf-cloud-api-common/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace

Check notice on line 45 in surf-cloud-standalone-launcher/src/main/java/dev/slne/surf/cloud/launcher/LauncherAgent.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace

Check notice on line 197 in surf-cloud-core/surf-cloud-core-client/src/main/kotlin/dev/slne/surf/cloud/core/client/netty/network/ClientSynchronizingPacketListenerImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Missing whitespace

Check notice on line 20 in surf-cloud-standalone-launcher/src/main/java/dev/slne/surf/cloud/launcher/LauncherAgent.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace

Check notice on line 65 in surf-cloud-standalone-launcher/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace

Check notice on line 28 in surf-cloud-core/surf-cloud-core-common/src/main/kotlin/dev/slne/surf/cloud/core/common/server/CommonCloudServerManagerImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Incorrect formatting

Incorrect whitespace