-
Notifications
You must be signed in to change notification settings - Fork 828
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
Getter naming #6562
Comments
I think we might have done that somewhat by accident, I don't think it was a conscious decision to use the |
Just a note: one place where we don't use |
More notes: Static methods on interfaces:
I'd say that maybe |
I think we usually use |
Sometimes we use
getAbc()
and sometimesabc()
.I believe the core repo went with
getAbc()
everywhere(?).Can we come up with explanation of when to use one vs the other?
E.g. here's one class where we use both (which may be ok, but I'd like to be able to write down the reason)
opentelemetry-java-instrumentation/instrumentation-api-semconv/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/net/InetSocketAddressNetClientAttributesGetter.java
Lines 23 to 28 in 6d22758
The text was updated successfully, but these errors were encountered: