Skip to content

Commit 996d150

Browse files
committed
spotless
1 parent d327900 commit 996d150

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbNetworkAttributesGetter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
* An interface for getting database network attributes.
1717
*
1818
* <p>Instrumentation authors will create implementations of this interface for their specific
19-
* library/framework. It will be used by the {@link DbNetworkAttributesExtractor} (or other convention
20-
* specific extractors) to obtain the various database network attributes in a type-generic way.
19+
* library/framework. It will be used by the {@link DbNetworkAttributesExtractor} (or other
20+
* convention specific extractors) to obtain the various database network attributes in a
21+
* type-generic way.
2122
*/
2223
public interface DbNetworkAttributesGetter<REQUEST, RESPONSE> {
2324

instrumentation/redisson/redisson-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/redisson/AbstractRedissonAsyncClientTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ void futureWhenComplete() throws ExecutionException, InterruptedException, Timeo
144144
return future.whenComplete(
145145
(res, throwable) -> {
146146
assertThat(Span.current().getSpanContext().isValid()).isTrue();
147-
testing.runWithSpan("callback", () -> {
148-
});
147+
testing.runWithSpan("callback", () -> {});
149148
});
150149
});
151150
result.toCompletableFuture().get(30, TimeUnit.SECONDS);
@@ -227,8 +226,7 @@ void atomicBatchCommand() throws ExecutionException, InterruptedException, Timeo
227226
return batchResultFuture.whenComplete(
228227
(res, throwable) -> {
229228
assertThat(Span.current().getSpanContext().isValid()).isTrue();
230-
testing.runWithSpan("callback", () -> {
231-
});
229+
testing.runWithSpan("callback", () -> {});
232230
});
233231
});
234232
result.toCompletableFuture().get(30, TimeUnit.SECONDS);

0 commit comments

Comments
 (0)