Skip to content

Commit

Permalink
remove need for reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Jun 27, 2024
1 parent 20268db commit b4d2544
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public class InstrumentationConfigUtil {
private InstrumentationConfigUtil() {}

@CanIgnoreReturnValue
public static <T, CLIENT_REQUEST, CLIENT_RESPONSE, SERVER_REQUEST, SERVER_RESPONSE>
public static <T, CLIENTREQUEST, CLIENTRESPONSE, SERVERREQUEST, SERVERRESPONSE>
T configureClientAndServerBuilder(
ConfigProperties config,
T builder,
Function<T, DefaultHttpClientInstrumenterBuilder<CLIENT_REQUEST, CLIENT_RESPONSE>>
Function<T, DefaultHttpClientInstrumenterBuilder<CLIENTREQUEST, CLIENTRESPONSE>>
getClientBuilder,
Function<T, DefaultHttpServerInstrumenterBuilder<SERVER_REQUEST, SERVER_RESPONSE>>
Function<T, DefaultHttpServerInstrumenterBuilder<SERVERREQUEST, SERVERRESPONSE>>
getServerBuilder) {
CoreCommonConfig commonConfig = getConfig(config);
getClientBuilder.apply(builder).configure(commonConfig);
Expand Down

0 comments on commit b4d2544

Please sign in to comment.