Browse Source

Polishing

pull/30915/head
Juergen Hoeller 3 years ago
parent
commit
f07b9fd217
  1. 2
      spring-core/src/main/java/org/springframework/core/io/PathResource.java
  2. 5
      spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFunction.java

2
spring-core/src/main/java/org/springframework/core/io/PathResource.java

@ -303,7 +303,7 @@ public class PathResource extends AbstractResource implements WritableResource { @@ -303,7 +303,7 @@ public class PathResource extends AbstractResource implements WritableResource {
}
/**
* This implementation returns the hash code of the underlying Path reference.
* This implementation returns the hash code of the underlying {@link Path} reference.
*/
@Override
public int hashCode() {

5
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFunction.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -43,12 +43,11 @@ public interface ExchangeFunction { @@ -43,12 +43,11 @@ public interface ExchangeFunction {
/**
* Exchange the given request for a {@link ClientResponse} promise.
*
* <p><strong>Note:</strong> When calling this method from an
* {@link ExchangeFilterFunction} that handles the response in some way,
* extra care must be taken to always consume its content or otherwise
* propagate it downstream for further handling, for example by the
* {@link WebClient}. Please, see the reference documentation for more
* {@link WebClient}. Please see the reference documentation for more
* details on this.
* @param request the request to exchange
* @return the delayed response

Loading…
Cancel
Save