Skip to content

Add common utils CollectionUtils.java DateUtils.java unit test#1496

Merged
khadgarmage merged 5 commits intoapache:devfrom
khadgarmage:ci-common-utils-1
Dec 17, 2019
Merged

Add common utils CollectionUtils.java DateUtils.java unit test#1496
khadgarmage merged 5 commits intoapache:devfrom
khadgarmage:ci-common-utils-1

Conversation

@khadgarmage
Copy link
Copy Markdown
Contributor

Tips

What is the purpose of the pull request

#1465

collectionutils.java
dateutils.java

@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 16, 2019

Codecov Report

Merging #1496 into dev will increase coverage by 2.5%.
The diff coverage is 94.44%.

Impacted file tree graph

@@           Coverage Diff           @@
##             dev   #1496     +/-   ##
=======================================
+ Coverage   2.77%   5.28%   +2.5%     
=======================================
  Files        272     272             
  Lines      13598   13598             
  Branches    2158    2158             
=======================================
+ Hits         378     718    +340     
+ Misses     13201   12839    -362     
- Partials      19      41     +22
Impacted Files Coverage Δ
...lphinscheduler/server/worker/task/sql/SqlTask.java 0% <0%> (ø) ⬆️
...ler/common/utils/dependent/DependentDateUtils.java 88% <100%> (+88%) ⬆️
...pache/dolphinscheduler/common/utils/DateUtils.java 94.18% <100%> (+94.18%) ⬆️
...dolphinscheduler/common/utils/CollectionUtils.java 91.04% <100%> (+44.07%) ⬆️
...pache/dolphinscheduler/common/utils/FileUtils.java 7.07% <0%> (+7.07%) ⬆️
.../apache/dolphinscheduler/common/utils/OSUtils.java 12.6% <0%> (+12.6%) ⬆️
...he/dolphinscheduler/common/model/DateInterval.java 20% <0%> (+20%) ⬆️
...che/dolphinscheduler/common/utils/HadoopUtils.java 24.57% <0%> (+24.57%) ⬆️
.../dolphinscheduler/common/utils/DependentUtils.java 29.5% <0%> (+29.5%) ⬆️
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da1afb7...2f3b04e. Read the comment docs.

@khadgarmage khadgarmage changed the title ci common utils Add common utils CollectionUtils.java DateUtils.java unit test Dec 16, 2019
Copy link
Copy Markdown
Contributor

@qiaozhanwei qiaozhanwei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Copy Markdown
Contributor

@lgcareer lgcareer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stringToMap Method need consider the initial capacity and load factor of the hashmap.

Copy link
Copy Markdown
Contributor

@lgcareer lgcareer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Copy Markdown
Contributor

@lenboo lenboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@khadgarmage khadgarmage merged commit 039f02a into apache:dev Dec 17, 2019
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.

5 participants