Skip to content

调整BlockingRunner内部实现,移除同步代码块和 wait/notify 的使用;为部分配置类增加直接配置 Executor 的API #26

调整BlockingRunner内部实现,移除同步代码块和 wait/notify 的使用;为部分配置类增加直接配置 Executor 的API

调整BlockingRunner内部实现,移除同步代码块和 wait/notify 的使用;为部分配置类增加直接配置 Executor 的API #26

GitHub Actions / Qodana for JVM completed Sep 24, 2023 in 0s

11 new problems found by Qodana for JVM

Qodana for JVM

11 new problems were found

Inspection name Severity Problems
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9 🔶 Warning 2
Convert 'object' to 'data object' ◽️ Notice 9

💡 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 notice on line 179 in simbot-api/src/main/kotlin/love/forte/simbot/event/EventResult.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 118 in simboot-core/src/main/kotlin/love/forte/simboot/core/binder/SimpleMessageValueBinder.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 180 in simboot-core/src/main/kotlin/love/forte/simboot/core/utils/ResourcesScanner.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 165 in simbot-api/src/main/kotlin/love/forte/simbot/event/EventResult.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 318 in simboot-api/src/main/kotlin/love/forte/simboot/listener/FunctionalBindableEventListener.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 186 in simboot-core/src/main/kotlin/love/forte/simboot/core/utils/ResourcesScanner.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 184 in simbot-api/src/main/kotlin/love/forte/simbot/event/EventResult.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 107 in simboot-core/src/main/kotlin/love/forte/simboot/core/binder/SimpleMessageValueBinder.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 201 in simboot-core-spring-boot-starter/src/main/kotlin/love/forte/simboot/spring/autoconfigure/SimbotSpringBootApplicationConfiguration.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 warning on line 63 in simbot-logger-slf4j-impl/src/main/kotlin/love/forte/simbot/logger/slf4j/color/BackGroundColor.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9

'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9

Check warning on line 62 in simbot-logger-slf4j-impl/src/main/kotlin/love/forte/simbot/logger/slf4j/color/FontColor.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9

'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9