Skip to content

Commit a64e85f

Browse files
committed
Javadoc
1 parent 47fe050 commit a64e85f

File tree

1 file changed

+3
-0
lines changed
  • spring-core/src/main/java/org/springframework/core/io/buffer

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ public interface DataBuffer {
220220
* data buffer's content. Data between this data buffer and the returned buffer is
221221
* shared; though changes in the returned buffer's position will not be reflected
222222
* in the reading nor writing position of this data buffer.
223+
* <p><strong>Note</strong> that this method will <strong>not</strong> call
224+
* {@link DataBufferUtils#retain(DataBuffer)} on the resulting slice: the reference
225+
* count will not be increased.
223226
* @param index the index at which to start the slice
224227
* @param length the length of the slice
225228
* @return the specified slice of this data buffer

0 commit comments

Comments
 (0)