Skip to content

Commit 712c70d

Browse files
committed
spotless
1 parent b01f387 commit 712c70d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceBootstrapState.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class AdviceBootstrapState implements AutoCloseable {
2222
@Nullable private MutableCallSite nestedCallSite;
2323

2424
/**
25-
* We have to eagerly initialize to not cause a lambda construction
26-
* during {@link #enter(Class, String, String, String, String)}.
25+
* We have to eagerly initialize to not cause a lambda construction during {@link #enter(Class,
26+
* String, String, String, String)}.
2727
*/
2828
private static final Function<Key, AdviceBootstrapState> CONSTRUCTOR = AdviceBootstrapState::new;
2929

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/IndyBootstrap.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ private static CallSite bootstrapAdvice(
180180
// for example, adding correlation ids to the thread context when executing logger.debug.
181181
MutableCallSite mutableCallSite = nestedState.getMutableCallSite();
182182
if (mutableCallSite == null) {
183-
mutableCallSite = new MutableCallSite(IndyBootstrapDispatcher.generateNoopMethodHandle(invokedynamicMethodType));
183+
mutableCallSite =
184+
new MutableCallSite(
185+
IndyBootstrapDispatcher.generateNoopMethodHandle(invokedynamicMethodType));
184186
nestedState.initMutableCallSite(mutableCallSite);
185187
}
186188
return mutableCallSite;

0 commit comments

Comments
 (0)