Skip to content

[Enhancement] Enhancement the FE java code #9126

Closed

Description

@jackwener

Search before asking

  • I had searched in the issues and found no similar issues.

Description

There is a lot of old code in FE, we can do some enhancement.

There are

  • replace for(Type thing: things) with things.foreach()
for (String sessionId : sessionIds) {
    XXX
}
->
sessionIds.foreach(sessionId -> {
    XXX
})
  • IDEA will remind some typo in annotation, we can fix it.
  • ....

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. Toms1999 commented on Apr 24, 2022

    @Toms1999
    Contributor

    Hi,
    Can I try to do it if you dont mind?

  2. jackwener commented on Apr 24, 2022

    @jackwener
    MemberAuthor

    Hi, Can I try to do it if you dont mind?

    It's OK😃

  3. Toms1999 commented on Apr 24, 2022

    @Toms1999
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions