Skip to content

Commit

Permalink
fix(deps): update errorproneversion to v2.28.0 (main) (minor) (#11507)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <[email protected]>
Co-authored-by: Lauri Tulmin <[email protected]>
  • Loading branch information
3 people committed Jun 1, 2024
1 parent a0526c4 commit 7a0368a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public class JavaLambdaMaker {

@SuppressWarnings("FunctionalExpressionCanBeFolded")
@SuppressWarnings({"FunctionalExpressionCanBeFolded", "UnnecessaryMethodReference"})
public static Runnable lambda(Runnable runnable) {
return runnable::run;
}
Expand Down
1 change: 1 addition & 0 deletions muzzle/src/test/java/muzzle/TestClasses.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public static boolean instanceofMethod(Object a) {
}

public static class InvokeDynamicAdvice {
@SuppressWarnings("UnnecessaryMethodReference")
public static Nested.SomeInterface invokeDynamicMethod(Nested.SomeImplementation a) {
Runnable staticMethod = Nested.B::staticMethod;
Runnable constructorMethod = Nested.A::new;
Expand Down

0 comments on commit 7a0368a

Please sign in to comment.