incubator-doris [Enhancement] Enhancement the FE java code

qvsjd97n  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(202)

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

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题