Skip to content

Commit

Permalink
Fix visibility for overrideable methods (#170)
Browse files Browse the repository at this point in the history
75df66a added option to override sampling behavior, but we need
to expose methods used to build the client for it to be useful.
  • Loading branch information
vickenty authored Dec 14, 2021
1 parent 812c040 commit 56420ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private NonBlockingStatsDClient(final String prefix, final int queueSize, final
*
* @see NonBlockingStatsDClientBuilder#resolve()
*/
NonBlockingStatsDClient(final NonBlockingStatsDClientBuilder builder) throws StatsDClientException {
public NonBlockingStatsDClient(final NonBlockingStatsDClientBuilder builder) throws StatsDClientException {
this(builder.prefix, builder.queueSize, builder.constantTags, builder.errorHandler,
builder.addressLookup, builder.telemetryAddressLookup, builder.timeout,
builder.socketBufferSize, builder.maxPacketSizeBytes, builder.entityID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public NonBlockingStatsDClient build() throws StatsDClientException {
* Creates a copy of this builder with any implicit elements resolved.
* @return the resolved copy of the builder.
*/
NonBlockingStatsDClientBuilder resolve() {
protected NonBlockingStatsDClientBuilder resolve() {
NonBlockingStatsDClientBuilder resolved;

try {
Expand Down

0 comments on commit 56420ad

Please sign in to comment.