Skip to content

Commit

Permalink
Merge pull request spring-projects#24160 from PyvesB
Browse files Browse the repository at this point in the history
* pr/24160:
  Polish DataBufferUtils javadoc

Closes spring-projectsgh-24160
  • Loading branch information
snicoll committed Dec 8, 2019
2 parents 2108bdf + e15ccdb commit b1e5996
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -340,7 +340,7 @@ public static Flux<DataBuffer> write(
/**
* 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}).
Expand Down Expand Up @@ -470,7 +470,7 @@ public static Flux<DataBuffer> skipUntilByteCount(Publisher<? extends DataBuffer
}

/**
* 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
*/
Expand Down

0 comments on commit b1e5996

Please sign in to comment.