调整BlockingRunner内部实现,移除同步代码块和 wait/notify 的使用;为部分配置类增加直接配置 Executor 的API #26
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]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
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
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
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
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
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
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
github-actions / Qodana for JVM
Convert 'object' to 'data object'
'sealed' sub-object can be converted to 'data object'
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
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