Fix Google Java Formater violations
Some changes landed on master that do not comply with new formatter rules
MODIFY
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceAsyncCommandsInstrumentation.java
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceAsyncCommandsInstrumentation.java
@@ -43,7 +43,7 @@ public class LettuceAsyncCommandsInstrumentation extends Instrumenter.Default {
isMethod()
.and(named("dispatch"))
.and(takesArgument(0, named("io.lettuce.core.protocol.RedisCommand"))),
- // Cannot reference class directly here because this would lead to class load failure on Java7
+ // Cannot reference class directly here because it would lead to class load failure on Java7
PACKAGE + ".LettuceAsyncCommandsAdvice");
return transformers;
}

MODIFY
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceClientInstrumentation.java
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceClientInstrumentation.java
@@ -50,7 +50,7 @@ public final class LettuceClientInstrumentation extends Instrumenter.Default {
.and(nameStartsWith("connect"))
.and(nameEndsWith("Async"))
.and(takesArgument(1, named("io.lettuce.core.RedisURI"))),
- // Cannot reference class directly here because this would lead to class load failure on Java7
+ // Cannot reference class directly here because it would lead to class load failure on Java7
PACKAGE + ".ConnectionFutureAdvice");
return transformers;
}

MODIFY
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceReactiveCommandsInstrumentation.java
dd-java-agent/instrumentation/lettuce-5/src/main/java/datadog/trace/instrumentation/lettuce/LettuceReactiveCommandsInstrumentation.java
@@ -49,7 +49,7 @@ public class LettuceReactiveCommandsInstrumentation extends Instrumenter.Default
.and(named("createMono"))
.and(takesArgument(0, named("java.util.function.Supplier")))
.and(returns(named("reactor.core.publisher.Mono"))),
- // Cannot reference class directly here because this would lead to class load failure on Java7
+ // Cannot reference class directly here because it would lead to class load failure on Java7
PACKAGE + ".rx.LettuceMonoCreationAdvice");
transformers.put(
isMethod()
@@ -57,7 +57,7 @@ public class LettuceReactiveCommandsInstrumentation extends Instrumenter.Default
.and(nameEndsWith("Flux"))
.and(takesArgument(0, named("java.util.function.Supplier")))
.and(returns(named(("reactor.core.publisher.Flux")))),
- // Cannot reference class directly here because this would lead to class load failure on Java7
+ // Cannot reference class directly here because it would lead to class load failure on Java7
PACKAGE + ".rx.LettuceFluxCreationAdvice");
return transformers;

Fix Google Java Formater violations

Some changes landed on master that do not comply with new formatter rules