fix(deps): update errorproneversion to v2.28.0 (main) (minor) (#11507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jason Plumb <jplumb@splunk.com> Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
This commit is contained in:
parent
a0526c436a
commit
7a0368ad03
|
@ -40,7 +40,7 @@ val DEPENDENCY_BOMS = listOf(
|
|||
|
||||
val autoServiceVersion = "1.1.1"
|
||||
val autoValueVersion = "1.11.0"
|
||||
val errorProneVersion = "2.27.1"
|
||||
val errorProneVersion = "2.28.0"
|
||||
val byteBuddyVersion = "1.14.17"
|
||||
val asmVersion = "9.7"
|
||||
val jmhVersion = "1.37"
|
||||
|
|
|
@ -7,7 +7,7 @@ package io.opentelemetry.javaagent.instrumentation.jetty.v8_0;
|
|||
|
||||
public class JavaLambdaMaker {
|
||||
|
||||
@SuppressWarnings("FunctionalExpressionCanBeFolded")
|
||||
@SuppressWarnings({"FunctionalExpressionCanBeFolded", "UnnecessaryMethodReference"})
|
||||
public static Runnable lambda(Runnable runnable) {
|
||||
return runnable::run;
|
||||
}
|
||||
|
|
|
@ -109,6 +109,7 @@ public class TestClasses {
|
|||
}
|
||||
|
||||
public static class InvokeDynamicAdvice {
|
||||
@SuppressWarnings("UnnecessaryMethodReference")
|
||||
public static Nested.SomeInterface invokeDynamicMethod(Nested.SomeImplementation a) {
|
||||
Runnable staticMethod = Nested.B::staticMethod;
|
||||
Runnable constructorMethod = Nested.A::new;
|
||||
|
|
Loading…
Reference in New Issue