Change method to be private as otherwise we would need to mark "reply"
volatile to make sure a user will not trigger a race if he call the method from the outside
This commit is contained in:
parent
2b32c3fb59
commit
7040e71131
@ -126,7 +126,7 @@ public class RedisDecoder extends ReplayingDecoder<State> {
|
||||
return receive(channelBuffer);
|
||||
}
|
||||
|
||||
public MultiBulkReply decodeMultiBulkReply(ChannelBuffer is) throws IOException {
|
||||
private MultiBulkReply decodeMultiBulkReply(ChannelBuffer is) throws IOException {
|
||||
if (reply == null) {
|
||||
reply = new MultiBulkReply();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user