Browse Source

Polish DataBufferUtils javadoc

See gh-24160
pull/24167/head
PyvesB 6 years ago committed by Stephane Nicoll
parent
commit
e15ccdb35d
  1. 4
      spring-core/src/main/java/org/springframework/core/io/buffer/DataBufferUtils.java

4
spring-core/src/main/java/org/springframework/core/io/buffer/DataBufferUtils.java

@ -340,7 +340,7 @@ public abstract class DataBufferUtils { @@ -340,7 +340,7 @@ public abstract class DataBufferUtils {
/**
* Write the given stream of {@link DataBuffer DataBuffers} to the given
* file {@link Path}. The optional {@code options} parameter specifies
* how the created or opened (defaults to
* how the file is created or opened (defaults to
* {@link StandardOpenOption#CREATE CREATE},
* {@link StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, and
* {@link StandardOpenOption#WRITE WRITE}).
@ -470,7 +470,7 @@ public abstract class DataBufferUtils { @@ -470,7 +470,7 @@ public abstract class DataBufferUtils {
}
/**
* Retain the given data buffer, it it is a {@link PooledDataBuffer}.
* Retain the given data buffer, if it is a {@link PooledDataBuffer}.
* @param dataBuffer the data buffer to retain
* @return the retained buffer
*/

Loading…
Cancel
Save