Skip to content

Commit 077a1fa

Browse files
committed
./gradlew spotlessApply
1 parent 505a657 commit 077a1fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

instrumentation/couchbase/couchbase-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/couchbase/v2_0/CouchbaseInstrumentationModule.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public boolean isIndyReady() {
5454
public ElementMatcher.Junction<ClassLoader> classLoaderMatcher() {
5555
// core-io 1.x (java-client 2.x) exposes CouchbaseAsyncBucket, removed in the 3.x line.
5656
return hasClassesNamed("com.couchbase.client.java.CouchbaseAsyncBucket")
57-
// core-io 2.1.0 (java-client 3.1.0) introduces TracingIdentifiers; let 3.x modules handle those.
57+
// core-io 2.1.0 (java-client 3.1.0) introduces TracingIdentifiers; let 3.x modules handle
58+
// those.
5859
.and(not(hasClassesNamed("com.couchbase.client.core.cnc.TracingIdentifiers")));
5960
}
6061
}

instrumentation/couchbase/couchbase-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/couchbase/v2_6/CouchbaseInstrumentationModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public CouchbaseInstrumentationModule() {
2929
public ElementMatcher.Junction<ClassLoader> classLoaderMatcher() {
3030
// core-io 1.6.0 (java-client 2.6.0) introduces BucketClosedException, the lower bound here.
3131
return hasClassesNamed("com.couchbase.client.core.BucketClosedException")
32-
.and(classLoaderHasOperationId())
32+
.and(classLoaderHasOperationId())
3333
// core-io 2.1.0 (java-client 3.1.0) adds TracingIdentifiers, handled by the 3.x modules.
3434
.and(not(hasClassesNamed("com.couchbase.client.core.cnc.TracingIdentifiers")));
3535
}

0 commit comments

Comments
 (0)