-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize code #14
Optimize code #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your first Pull Request! Join our Discord server to get more info.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐺👌
entrypoint/common/src/main/java/band/kessoku/lib/entrypoint/impl/KessokuMetadata.java
Outdated
Show resolved
Hide resolved
((MapNode) node).forEach(pair -> { | ||
// normalize value | ||
final JsonNode<?> rawValue = pair.getValue(); | ||
final List<EntrypointMetadata> entrypointMetadataList = switch (rawValue.getType()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[待办] 建议分割为小块的私有方法处理,而不是堆叠嵌套。这样的嵌套太复杂了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我不想动这块代码,你帮我改了吧x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我自己都快看不懂了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
打个 TODO 吧,我来解构
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嚎
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep
不是你们怎么都approve了 我还没写完呢 |
嘛? |
你推送一段我们 approve 一段阿(?) |
@AmarokIce 你怎么还没动静 💢 |
No description provided.