Merge pull request #397 from DataDog/mar-kolya/fix-google-java-format-violations

Fix Google Java Formater violations
This commit is contained in:
Tyler Benson 2018-07-23 13:45:39 +10:00 committed by GitHub
commit 1aaa3cafeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;