Skip to content

Commit

Permalink
Polish DataBufferUtils javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored and snicoll committed Dec 8, 2019
1 parent 2108bdf commit e15ccdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 e15ccdb

Please sign in to comment.