Polishing

This commit is contained in:
Juergen Hoeller
2023-02-15 12:57:44 +01:00
parent 5847454aa4
commit 3e3f046dc9
2 changed files with 8 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request query parameter values with the given Hamcrest matcher(s).
* <p> Note that if the queryParam value list is larger than the number of provided
* <p>Note that if the queryParam value list is larger than the number of provided
* {@code matchers}, extra values are considered acceptable.
* See {@link #queryParam(String, Matcher)} for a variant that takes a
* {@code Matcher} over the whole list of values.
@@ -134,7 +134,7 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request query parameter values.
* <p> Note that if the queryParam value list is larger than {@code expectedValues},
* <p>Note that if the queryParam value list is larger than {@code expectedValues},
* extra values are considered acceptable.
* See {@link #queryParam(String, Matcher)} for a variant that takes a
* {@code Matcher} over the whole list of values.
@@ -152,12 +152,12 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request query parameter, matching on the whole {@code List} of values.
* <p> This can be used to check that the list has at least one value matching a
* <p>This can be used to check that the list has at least one value matching a
* criteria ({@link Matchers#hasItem(Matcher)}), or that every value in the list
* matches a common criteria ({@link Matchers#everyItem(Matcher)}), or that each
* value in the list matches its corresponding dedicated criteria
* ({@link Matchers#contains(Matcher[])}, and more.
* @param name the name of the queryParam to consider
* @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
*/
@@ -192,7 +192,7 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request header values with the given Hamcrest matcher(s).
* <p> Note that if the header's value list is larger than the number of provided
* <p>Note that if the header's value list is larger than the number of provided
* {@code matchers}, extra values are considered acceptable.
* See {@link #header(String, Matcher)} for a variant that takes a {@code Matcher}
* over the whole list of values.
@@ -212,7 +212,7 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request header values.
* <p> Note that if the header's value list is larger than {@code expectedValues},
* <p>Note that if the header's value list is larger than {@code expectedValues},
* extra values are considered acceptable.
* See {@link #header(String, Matcher)} for a variant that takes a {@code Matcher}
* over the whole list of values.
@@ -231,12 +231,12 @@ public abstract class MockRestRequestMatchers {
/**
* Assert request header, matching on the whole {@code List} of values.
* <p> This can be used to check that the list has at least one value matching a
* <p>This can be used to check that the list has at least one value matching a
* criteria ({@link Matchers#hasItem(Matcher)}), or that every value in the list
* matches a common criteria ({@link Matchers#everyItem(Matcher)}), or that each
* value in the list matches its corresponding dedicated criteria
* ({@link Matchers#contains(Matcher[])}, and more.
* @param name the name of the header to consider
* @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
*/