byte version = channelBuffer.readByte();
if (LOG.isTraceEnabled() && version != PROTOCOL_VERSION) {
LOG.trace("Unknown beats protocol version: {}", version);
}
byte frameType = channelBuffer.readByte();
<BUG>List<Map<String, Object>> events = null;
switch (frameType) {</BUG>
case FRAME_WINDOW_SIZE:
processWindowSizeFrame(channelBuffer);
break;

byte version = channelBuffer.readByte();
if (LOG.isTraceEnabled() && version != PROTOCOL_VERSION) {
LOG.trace("Unknown beats protocol version: {}", version);
}
byte frameType = channelBuffer.readByte();
ChannelBuffer[] events = null;
switch (frameType) {
case FRAME_WINDOW_SIZE:
processWindowSizeFrame(channelBuffer);
break;
