Spring cleaning: add missing @Override annotations
This commit is contained in:
@@ -85,6 +85,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
|
||||
* <p>This is mutually exclusive with {@link #getBodyValue()}.
|
||||
* Only one of the two or neither is set.
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("removal")
|
||||
@Nullable
|
||||
public Publisher<?> getBody() {
|
||||
@@ -94,6 +95,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
|
||||
/**
|
||||
* Return the element type for a {@linkplain #getBodyPublisher() body publisher}.
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("removal")
|
||||
@Nullable
|
||||
public ParameterizedTypeReference<?> getBodyElementType() {
|
||||
|
||||
@@ -500,6 +500,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
|
||||
* @since 4.1
|
||||
* @see UriComponents#toUriString()
|
||||
*/
|
||||
@Override
|
||||
public String toUriString() {
|
||||
return (this.uriVariables.isEmpty() ?
|
||||
build().encode().toUriString() :
|
||||
|
||||
Reference in New Issue
Block a user