Skip to content
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

Minor improvements for servicetalk-opentracing-zipkin-publisher #1019

Merged
merged 1 commit into from Apr 16, 2020

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

servicetalk-opentracing-zipkin-publisher has a few things that
can be improved.

Modifications:

  • Make LoggingReporter.Builder.loggerName variable final;
  • Add javadoc for LoggingReporter.Builder;
  • Make UdpReporter.buildBootstrap static;
  • Remove info about default value from
    UdpReporter.Builder.ioExecutor javadoc;

Motivation:

`servicetalk-opentracing-zipkin-publisher` has a few things that
can be improved.

Modifications:

- Make `LoggingReporter.Builder.loggerName` variable final;
- Add javadoc for `LoggingReporter.Builder`;
- Make `UdpReporter.buildBootstrap` static;
- Remove info about default value from
`UdpReporter.Builder.ioExecutor` javadoc;
@@ -139,8 +138,7 @@ public Builder codec(Codec codec) {
}

/**
* Sets an {@link IoExecutor} to use for writing to the datagram channel. Defaults to the
* {@link GlobalExecutionContext} {@link IoExecutor}.
* Sets an {@link IoExecutor} to use for writing to the datagram channel.
Copy link
Member Author

Choose a reason for hiding this comment

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

We usually do not clarify default values in javadoc. Removed it to avoid referencing internal class from the public javadoc.

@idelpivnitskiy idelpivnitskiy merged commit b88008b into apple:master Apr 16, 2020
@idelpivnitskiy idelpivnitskiy deleted the zipkin-small-fixes branch April 16, 2020 05:40
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.

None yet

2 participants