-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Create OTP utils module for basic utility features #6209
Conversation
We do this in a separate PR from moving the files to keep git-history.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6209 +/- ##
=============================================
- Coverage 69.94% 69.92% -0.02%
+ Complexity 17743 17729 -14
=============================================
Files 1998 2000 +2
Lines 75464 75487 +23
Branches 7723 7727 +4
=============================================
+ Hits 52784 52787 +3
- Misses 20009 20015 +6
- Partials 2671 2685 +14 ☔ View full report in Codecov by Sentry. |
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
public class ToveUtils { |
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.
public class ToveUtils { | |
public class TroveUtils { |
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.
ToveUtils
should be TroveUtils
.
The coverage goes down with this because the reports are not aggregated but I'm hoping to fix it with the following PR: #6220
Summary
This PR create another maven module and move "true" utilities into it. The new Maven module make is possible to split the application in other modules, like Raptor, OTP domain, street and so on.
The utilities should have no dependencies to other parts of OTP and no dependencies to other 3rd party libraries - except the @nullable annotation lib.
Issue
Part of #6155
Unit tests
This is a pure restructuring of the code. One test is removed, since the method tested was unused, and removed.
Documentation
No do is changed.
Changelog
This can skip the change log.
Bumping the serialization version id
Unsure if changing the package name for the utility classes have any thing to say, but some of the utility classes is serialized, so we bump the version id to be safe.