apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.88k stars 4.63k forks source link

[Improvement-15448][api] Use Map to avoid traversing List repeatedly #16365

Closed Kinsonx closed 3 months ago

Kinsonx commented 3 months ago

Purpose of the pull request

Related issue: https://github.com/apache/dolphinscheduler/issues/15448 Using Map to avoid traversing List repeatedly when set userName, defCount for each project

Brief change log

Verify this pull request

This pull request is already covered by existing tests, such as (org.apache.dolphinscheduler.api.controller.ProjectControllerTest#testQueryProjectListPaging).

Pull Request Notice

Pull Request Notice

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

boring-cyborg[bot] commented 3 months ago

Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

boring-cyborg[bot] commented 3 months ago

Awesome work, congrats on your first merged pull request!