From 2d62be8590d826563bd89d5adabb414a092c6aae Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 20 Feb 2023 00:04:53 +0900 Subject: [PATCH] Fix Javadoc since for MockRestRequestMatchers queryParam() and header() (#29986) See gh-29953 See gh-29964 --- .../test/web/client/match/MockRestRequestMatchers.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java b/spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java index 012336edf27..d4c164dddd5 100644 --- a/spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java +++ b/spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java @@ -159,7 +159,7 @@ public abstract class MockRestRequestMatchers { * ({@link Matchers#contains(Matcher[])}, and more. * @param name the name of the query parameter to consider * @param matcher the matcher to apply to the whole list of values for that header - * @since 6.0.5 + * @since 5.3.26 */ public static RequestMatcher queryParam(String name, Matcher> matcher) { return request -> { @@ -238,7 +238,7 @@ public abstract class MockRestRequestMatchers { * ({@link Matchers#contains(Matcher[])}, and more. * @param name the name of the request header to consider * @param matcher the matcher to apply to the whole list of values for that header - * @since 6.0.5 + * @since 5.3.26 */ public static RequestMatcher header(String name, Matcher> matcher) { return request -> {