@ -68,7 +69,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
@@ -68,7 +69,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
Assert.notNull(predicate,"'predicate' must not be null");
Assert.notNull(predicate,"IntPredicate must not be null");
if(fromIndex<0){
fromIndex=0;
}
@ -81,7 +82,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
@@ -81,7 +82,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
Assert.notNull(predicate,"'predicate' must not be null");
Assert.notNull(predicate,"IntPredicate must not be null");
if(fromIndex<0){
return-1;
}
@ -174,9 +175,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
@@ -174,9 +175,7 @@ public class NettyDataBuffer implements PooledDataBuffer {
@Override
publicNettyDataBufferwrite(DataBuffer...buffers){
Assert.notNull(buffers,"'buffers' must not be null");
@ -196,9 +195,9 @@ public class NettyDataBuffer implements PooledDataBuffer {
@@ -196,9 +195,9 @@ public class NettyDataBuffer implements PooledDataBuffer {
@ -207,25 +206,25 @@ public class NettyDataBuffer implements PooledDataBuffer {
@@ -207,25 +206,25 @@ public class NettyDataBuffer implements PooledDataBuffer {
@Override
publicNettyDataBufferwrite(ByteBuffer...buffers){
Assert.notNull(buffers,"'buffers' must not be null");