Skip to content

Commit 1e7beb0

Browse files
authored
Review fixes for redisson-common:testing (open-telemetry#17634)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
1 parent 2dd4cec commit 1e7beb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void atomicBatchCommand() throws ExecutionException, InterruptedException, Timeo
207207
try {
208208
// available since 3.7.2
209209
Class.forName("org.redisson.api.BatchOptions$ExecutionMode");
210-
} catch (ClassNotFoundException exception) {
210+
} catch (ClassNotFoundException ignored) {
211211
Assumptions.abort();
212212
}
213213
// Don't specify explicit generic type, because `BatchResult` not exist in some versions.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void atomicBatchCommand() {
232232
try {
233233
// available since 3.7.2
234234
Class.forName("org.redisson.api.BatchOptions$ExecutionMode");
235-
} catch (ClassNotFoundException exception) {
235+
} catch (ClassNotFoundException ignored) {
236236
Assumptions.abort();
237237
}
238238

0 commit comments

Comments
 (0)