-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Removing legacy commons-lang dependency #13480
Removing legacy commons-lang dependency #13480
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #13480 +/- ##
============================================
+ Coverage 61.75% 62.05% +0.30%
+ Complexity 207 198 -9
============================================
Files 2436 2559 +123
Lines 133233 141302 +8069
Branches 20636 21918 +1282
============================================
+ Hits 82274 87688 +5414
- Misses 44911 46959 +2048
- Partials 6048 6655 +607
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 cleaning this up!
@@ -181,7 +181,7 @@ public File createAvroFile() | |||
for (int i = 0; i < getCountStarResult(); i++) { | |||
// create avro record | |||
GenericData.Record record = new GenericData.Record(avroSchema); | |||
record.put(ID, RandomUtils.nextInt(10)); | |||
record.put(ID, RandomUtils.nextInt(0, 10)); |
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.
Seems RandomUtils
is already deprecated. Can you replace it with a regular Random
?
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.
I did notice the deprecation warning. I plan to use commons-rng as it's much more performant than java.util.Random
in the follow-up PR. Thoughts?
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.
Sounds good!
Labels
dependencies
cleanup
Description