Skip to content

Commit 5adaa10

Browse files
committed
Javadoc
1 parent f7bf646 commit 5adaa10

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -190,7 +190,8 @@ public interface DataBuffer {
190190

191191
/**
192192
* Write one or more {@code DataBuffer}s to this buffer, starting at the current
193-
* writing position.
193+
* writing position. It is the responsibility of the caller to
194+
* {@linkplain DataBufferUtils#release(DataBuffer) release} the given data buffers.
194195
* @param buffers the byte buffers to write into this buffer
195196
* @return this buffer
196197
*/

0 commit comments

Comments
 (0)