Skip to content

Commit

Permalink
Tiny tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Aug 17, 2022
1 parent ee3fb00 commit 39e4023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final class NonEmptyMono extends BugChecker implements MethodInvocationTr
private static final Matcher<ExpressionTree> MONO_SIZE_CHECK =
instanceMethod()
.onDescendantOf("reactor.core.publisher.Mono")
.namedAnyOf("single", "defaultIfEmpty", "switchIfEmpty");
.namedAnyOf("defaultIfEmpty", "single", "switchIfEmpty");
private static final Matcher<ExpressionTree> SINGLETON_MONO =
anyOf(
instanceMethod()
Expand Down

0 comments on commit 39e4023

Please sign in to comment.