Skip to content

Commit

Permalink
WillReturnStrategy.java: Simplify returnArgument (#1859)
Browse files Browse the repository at this point in the history
Fixes #1858
  • Loading branch information
reedy authored Sep 17, 2024
1 parent 6a18e90 commit 6b04399
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ final public class WillReturnStrategy {
methodsMapping.put("returnValueMap", "willReturnMap");
methodsMapping.put("returnCallback", "willReturnCallback");
methodsMapping.put("returnValue", "willReturn");
methodsMapping.put("returnArgument", "willReturnArgument");
}

static public void apply(@NotNull String methodName, @NotNull MethodReference reference, @NotNull ProblemsHolder holder) {
Expand Down

0 comments on commit 6b04399

Please sign in to comment.