Polishing
This commit is contained in:
parent
f91b2249b3
commit
d7824c7831
|
@ -519,7 +519,6 @@ public interface DataBuffer {
|
|||
* A dedicated iterator type that ensures the lifecycle of iterated
|
||||
* {@link ByteBuffer} elements. This iterator must be used in a
|
||||
* try-with-resources clause or explicitly {@linkplain #close() closed}.
|
||||
*
|
||||
* @see DataBuffer#readableByteBuffers()
|
||||
* @see DataBuffer#writableByteBuffers()
|
||||
*/
|
||||
|
@ -527,7 +526,6 @@ public interface DataBuffer {
|
|||
|
||||
@Override
|
||||
void close();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -65,6 +65,7 @@ import static org.mockito.Mockito.mock;
|
|||
class DataBufferUtilsTests extends AbstractDataBufferAllocatingTests {
|
||||
|
||||
private final Resource resource;
|
||||
|
||||
private final Path tempFile;
|
||||
|
||||
|
||||
|
@ -790,7 +791,6 @@ class DataBufferUtilsTests extends AbstractDataBufferAllocatingTests {
|
|||
.consumeNextWith(stringConsumer("c"))
|
||||
.expectComplete()
|
||||
.verify(Duration.ofSeconds(5));
|
||||
|
||||
}
|
||||
|
||||
private Answer<Integer> putByte(int b) {
|
||||
|
@ -1006,6 +1006,7 @@ class DataBufferUtilsTests extends AbstractDataBufferAllocatingTests {
|
|||
.verifyComplete();
|
||||
}
|
||||
|
||||
|
||||
private static class ZeroDemandSubscriber extends BaseSubscriber<DataBuffer> {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue