mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix compilation
This commit is contained in:
@@ -39,7 +39,7 @@ public class BinaryRequestHandlerTest {
|
||||
channel.pipeline().addLast(object : Decoder() {
|
||||
override fun messageReceived(context: ChannelHandlerContext, input: ByteBuf) {
|
||||
val requiredLength = 4 + text.length()
|
||||
val response = readContent(input, context, requiredLength) {(buffer, context) -> buffer.toString(buffer.readerIndex(), requiredLength, CharsetUtil.UTF_8) }
|
||||
val response = readContent(input, context, requiredLength) {(buffer, context, isCumulateBuffer) -> buffer.toString(buffer.readerIndex(), requiredLength, CharsetUtil.UTF_8) }
|
||||
if (response != null) {
|
||||
result.setDone(response)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user