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:
renovate[bot] 2024-06-01 14:28:09 +03:00 committed by GitHub
parent a0526c436a
commit 7a0368ad03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

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