Skip to content

Commit

Permalink
add private
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek committed Jul 17, 2023
1 parent d1ff9c6 commit e8a61c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static HttpClient.ResponseReceiver<?> instrument(HttpClient.ResponseRecei
return null;
}

static final class CaptureParentContext
private static final class CaptureParentContext
implements Function<Mono<? extends Connection>, Mono<? extends Connection>> {

private final InstrumentationContexts instrumentationContexts;
Expand All @@ -79,7 +79,7 @@ public Mono<? extends Connection> apply(Mono<? extends Connection> mono) {
}
}

static final class StartOperation implements BiConsumer<HttpClientRequest, Connection> {
private static final class StartOperation implements BiConsumer<HttpClientRequest, Connection> {

private final InstrumentationContexts instrumentationContexts;

Expand All @@ -100,7 +100,7 @@ public void accept(HttpClientRequest request, Connection connection) {
}
}

static final class EndOperationWithRequestError
private static final class EndOperationWithRequestError
implements BiConsumer<HttpClientRequest, Throwable> {

private final InstrumentationContexts instrumentationContexts;
Expand All @@ -127,7 +127,7 @@ public void accept(HttpClientRequest request, Throwable error) {
}
}

static final class EndOperationWithResponseError
private static final class EndOperationWithResponseError
implements BiConsumer<HttpClientResponse, Throwable> {

private final InstrumentationContexts instrumentationContexts;
Expand All @@ -142,7 +142,8 @@ public void accept(HttpClientResponse response, Throwable error) {
}
}

static final class EndOperationWithSuccess implements BiConsumer<HttpClientResponse, Connection> {
private static final class EndOperationWithSuccess
implements BiConsumer<HttpClientResponse, Connection> {

private final InstrumentationContexts instrumentationContexts;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

final class InstrumentationContexts {

static final Logger logger = Logger.getLogger(InstrumentationContexts.class.getName());
private static final Logger logger = Logger.getLogger(InstrumentationContexts.class.getName());

private volatile Context parentContext;
// on retries, reactor-netty starts the next resend attempt before it ends the previous one (i.e.
Expand Down

0 comments on commit e8a61c3

Please sign in to comment.