diff --git a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java index f394890b..6014e55a 100644 --- a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java +++ b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java @@ -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, diff --git a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClientBuilder.java b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClientBuilder.java index f0d75e86..e72c2f6c 100644 --- a/src/main/java/com/timgroup/statsd/NonBlockingStatsDClientBuilder.java +++ b/src/main/java/com/timgroup/statsd/NonBlockingStatsDClientBuilder.java @@ -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 {