Skip to content

Commit 4b78428

Browse files
committed
Cleanup
1 parent 085fa4d commit 4b78428

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

instrumentation/openai/openai-java-1.1/library/src/main/java/io/opentelemetry/instrumentation/openai/v1_1/CompletableFutureWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
final class CompletableFutureWrapper {
1313
private CompletableFutureWrapper() {}
1414

15-
public static <T> CompletableFuture<T> wrap(CompletableFuture<T> future, Context context) {
15+
static <T> CompletableFuture<T> wrap(CompletableFuture<T> future, Context context) {
1616
CompletableFuture<T> result = new CompletableFuture<>();
1717
future.whenComplete(
1818
(T value, Throwable throwable) -> {

instrumentation/openai/openai-java-1.1/library/src/main/java/io/opentelemetry/instrumentation/openai/v1_1/InstrumentedChatService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class InstrumentedChatService
1919
private final Logger eventLogger;
2020
private final boolean captureMessageContent;
2121

22-
public InstrumentedChatService(
22+
InstrumentedChatService(
2323
ChatService delegate,
2424
Instrumenter<ChatCompletionCreateParams, ChatCompletion> instrumenter,
2525
Logger eventLogger,

instrumentation/openai/openai-java-1.1/library/src/main/java/io/opentelemetry/instrumentation/openai/v1_1/InstrumentedChatServiceAsync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class InstrumentedChatServiceAsync
1919
private final Logger eventLogger;
2020
private final boolean captureMessageContent;
2121

22-
public InstrumentedChatServiceAsync(
22+
InstrumentedChatServiceAsync(
2323
ChatServiceAsync delegate,
2424
Instrumenter<ChatCompletionCreateParams, ChatCompletion> instrumenter,
2525
Logger eventLogger,

0 commit comments

Comments
 (0)