Remove duplicate words in documentation and polish Javadoc
This commit is contained in:
@@ -136,8 +136,8 @@ public abstract class AbstractJackson2Decoder extends Jackson2CodecSupport imple
|
||||
|
||||
/**
|
||||
* Process the input publisher into a flux. Default implementation returns
|
||||
* {@link Flux#from(Publisher)}, but subclasses can choose to to customize
|
||||
* this behaviour.
|
||||
* {@link Flux#from(Publisher)}, but subclasses can choose to customize
|
||||
* this behavior.
|
||||
* @param input the {@code DataBuffer} input stream to process
|
||||
* @param elementType the expected type of elements in the output stream
|
||||
* @param mimeType the MIME type associated with the input stream (optional)
|
||||
|
||||
@@ -67,8 +67,8 @@ abstract class BaseCodecConfigurer implements CodecConfigurer {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sub-classes should override this to create deep copy of
|
||||
* {@link BaseDefaultCodecs} which can can be client or server specific.
|
||||
* Sub-classes should override this to create a deep copy of
|
||||
* {@link BaseDefaultCodecs} which can be client or server specific.
|
||||
* @since 5.1.12
|
||||
*/
|
||||
protected abstract BaseDefaultCodecs cloneDefaultCodecs();
|
||||
|
||||
@@ -212,7 +212,7 @@ public abstract class AbstractListenerWriteProcessor<T> implements Processor<T,
|
||||
* buffers apply to the underlying container.
|
||||
* @param data the item to write
|
||||
* @return whether the current data item was written and another one
|
||||
* requested ({@code true}), or or otherwise if more writes are required.
|
||||
* requested ({@code true}), or otherwise if more writes are required.
|
||||
*/
|
||||
protected abstract boolean write(T data) throws IOException;
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ public class ServletRequestDataBinder extends WebDataBinder {
|
||||
* <p>The type of the target property for a multipart file can be MultipartFile,
|
||||
* byte[], or String. The latter two receive the contents of the uploaded file;
|
||||
* all metadata like original file name, content type, etc are lost in those cases.
|
||||
* @param request request with parameters to bind (can be multipart)
|
||||
* @param request the request with parameters to bind (can be multipart)
|
||||
* @see org.springframework.web.multipart.MultipartHttpServletRequest
|
||||
* @see org.springframework.web.multipart.MultipartFile
|
||||
* @see #bind(org.springframework.beans.PropertyValues)
|
||||
|
||||
@@ -101,7 +101,7 @@ public class WebRequestDataBinder extends WebDataBinder {
|
||||
* <p>The type of the target property for a multipart file can be Part, MultipartFile,
|
||||
* byte[], or String. The latter two receive the contents of the uploaded file;
|
||||
* all metadata like original file name, content type, etc are lost in those cases.
|
||||
* @param request request with parameters to bind (can be multipart)
|
||||
* @param request the request with parameters to bind (can be multipart)
|
||||
* @see org.springframework.web.multipart.MultipartRequest
|
||||
* @see org.springframework.web.multipart.MultipartFile
|
||||
* @see javax.servlet.http.Part
|
||||
@@ -126,7 +126,7 @@ public class WebRequestDataBinder extends WebDataBinder {
|
||||
|
||||
/**
|
||||
* Check if the request is a multipart request (by checking its Content-Type header).
|
||||
* @param request request with parameters to bind
|
||||
* @param request the request with parameters to bind
|
||||
*/
|
||||
private boolean isMultipartRequest(WebRequest request) {
|
||||
String contentType = request.getHeader("Content-Type");
|
||||
|
||||
@@ -73,7 +73,7 @@ public class WebAsyncTask<V> implements BeanFactoryAware {
|
||||
|
||||
/**
|
||||
* Create a {@code WebAsyncTask} with a timeout value, an executor name, and a {@link Callable}.
|
||||
* @param timeout timeout value in milliseconds; ignored if {@code null}
|
||||
* @param timeout the timeout value in milliseconds; ignored if {@code null}
|
||||
* @param executorName the name of an executor bean to use
|
||||
* @param callable the callable for concurrent handling
|
||||
*/
|
||||
@@ -86,7 +86,7 @@ public class WebAsyncTask<V> implements BeanFactoryAware {
|
||||
|
||||
/**
|
||||
* Create a {@code WebAsyncTask} with a timeout value, an executor instance, and a Callable.
|
||||
* @param timeout timeout value in milliseconds; ignored if {@code null}
|
||||
* @param timeout the timeout value in milliseconds; ignored if {@code null}
|
||||
* @param executor the executor to use
|
||||
* @param callable the callable for concurrent handling
|
||||
*/
|
||||
|
||||
@@ -59,7 +59,7 @@ public class HttpWebHandlerAdapter extends WebHandlerDecorator implements HttpHa
|
||||
|
||||
/**
|
||||
* Dedicated log category for disconnected client exceptions.
|
||||
* <p>Servlet containers dn't expose a a client disconnected callback, see
|
||||
* <p>Servlet containers don't expose a client disconnected callback; see
|
||||
* <a href="https://github.com/eclipse-ee4j/servlet-api/issues/44">eclipse-ee4j/servlet-api#44</a>.
|
||||
* <p>To avoid filling logs with unnecessary stack traces, we make an
|
||||
* effort to identify such network failures on a per-server basis, and then
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.web.server.ServerWebExchange;
|
||||
import org.springframework.web.server.WebSession;
|
||||
|
||||
/**
|
||||
* Main class for for access to the {@link WebSession} for an HTTP request.
|
||||
* Main class for access to the {@link WebSession} for an HTTP request.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 5.0
|
||||
|
||||
@@ -591,7 +591,7 @@ public abstract class WebUtils {
|
||||
* either via a button (directly with name) or via an image (name + ".x" or
|
||||
* name + ".y").
|
||||
* @param request current HTTP request
|
||||
* @param name name of the parameter
|
||||
* @param name the name of the parameter
|
||||
* @return if the parameter was sent
|
||||
* @see #SUBMIT_IMAGE_SUFFIXES
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ public class PathPatternParser {
|
||||
|
||||
|
||||
/**
|
||||
* Whether a {@link PathPattern} produced by this parser should should
|
||||
* Whether a {@link PathPattern} produced by this parser should
|
||||
* automatically match request paths with a trailing slash.
|
||||
*
|
||||
* <p>If set to {@code true} a {@code PathPattern} without a trailing slash
|
||||
|
||||
Reference in New Issue
Block a user