Skip to content

Comments

1.1.1#2

Merged
BingZi-233 merged 1 commit intomasterfrom
dev
Aug 13, 2025
Merged

1.1.1#2
BingZi-233 merged 1 commit intomasterfrom
dev

Conversation

@BingZi-233
Copy link
Owner

refactor: 将API回调函数类型改为Java Function接口

  • 将所有OneBotAPI中的Kotlin函数类型 (T) -> Unit 改为 java.util.function.Consumer
  • 更新调用方式从callback.invoke()改为callback.accept()
  • 提升与Java插件的兼容性
  • 版本升级至v1.1.1

🤖 Generated with Claude Code

- 将所有OneBotAPI中的Kotlin函数类型 (T) -> Unit 改为 java.util.function.Consumer<T>
- 更新调用方式从callback.invoke()改为callback.accept()
- 提升与Java插件的兼容性
- 版本升级至v1.1.1

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@BingZi-233 BingZi-233 self-assigned this Aug 13, 2025
@BingZi-233 BingZi-233 changed the title 1.1.1 refactor: 将API回调函数类型改为Java Function接口 Aug 13, 2025
@BingZi-233 BingZi-233 changed the title refactor: 将API回调函数类型改为Java Function接口 1.1.1 Aug 13, 2025
@BingZi-233 BingZi-233 merged commit 10b27c3 into master Aug 13, 2025
3 of 4 checks passed
@github-actions
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 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 qodana-support@jetbrains.com

@BingZi-233 BingZi-233 deleted the dev branch August 13, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant