-
Notifications
You must be signed in to change notification settings - Fork 457
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
update trait Number<T>
to Number
#2109
update trait Number<T>
to Number
#2109
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2109 +/- ##
=====================================
Coverage 78.3% 78.3%
=====================================
Files 121 121
Lines 20815 20815
=====================================
Hits 16309 16309
Misses 4506 4506 ☔ 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 another cleanup/simplification. The existing thing was probably done to meet some needs in the Histogram aggregation, not quite sure why.
This is still good to merge, and we can do another deep review/cleanup of Histograms.
(Histograms SUM should always be double, but looks like we have it as <T>
. Good to check it further after this PR.)
/easycla check |
/easycla |
Looks like CLA is failing, similar to communitybridge/easycla#4329 |
8121c3f
to
06cf36f
Compare
Sorry... I keep forgetting ;( |
I'm actually looking at this right now :) it seams that both
So If I'll create a new revision soon to address this ;) |
ExponentialHistogram was left out from initial set of changes to leverage ValueMap, just to keep scope under control! |
Merging, as CLA issue is resolved. Other proposals looks good, happy to accept them via follow up PRs! |
Changes
Simply updated
trait Number<T>
by removing unnecessary generic type from it.There is exactly these changes (you can repeat it in 1 min)
Number(<[a-zA-Z0-9]*>)
replace withNumber
trait Number
replaceT
withSelf
.What is the value? It's easier to understand to newcomers such as myself :)
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes