Skip to content

Commit 00b0c4f

Browse files
committed
./gradlew spotlessApply
1 parent 94ef8fb commit 00b0c4f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/classicsdk/ApplicationInsightsAppenderClassFileTransformer.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ public MethodVisitor visitMethod(
7575
// match append(SomeLoggingEvent): the descriptor type-strings are not checked here
7676
// because Shadow relocates the "ch/qos/logback" literal, breaking the match at runtime;
7777
// class-name filtering in transform() already guarantees we are in the right class
78-
if (name.equals("append")
79-
&& descriptor.startsWith("(L")
80-
&& descriptor.endsWith(";)V")) {
78+
if (name.equals("append") && descriptor.startsWith("(L") && descriptor.endsWith(";)V")) {
8179
// no-op the append() method
8280
mv.visitCode();
8381
mv.visitInsn(RETURN);

0 commit comments

Comments
 (0)