mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Suppress new SonarCloud warning (#1248)
This commit is contained in:
committed by
GitHub
parent
6eb22da201
commit
5fbb0636aa
@@ -52,6 +52,7 @@ final class EqualityRules {
|
||||
}
|
||||
|
||||
@AfterTemplate
|
||||
@SuppressWarnings("java:S1698" /* Reference comparison is valid for enums. */)
|
||||
Predicate<T> after(T e) {
|
||||
return v -> v == e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user