From e062f7f6f9ee9d64980a0e71947b3477d96e022d Mon Sep 17 00:00:00 2001 From: Jestan Nirojan Date: Tue, 9 Jul 2013 22:51:29 +0530 Subject: [PATCH] Minor refactoring in variable naming in sctp stream config --- .../java/io/netty/channel/sctp/DefaultSctpChannelConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpChannelConfig.java b/transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpChannelConfig.java index fd9e868215..37ec6ee79f 100644 --- a/transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpChannelConfig.java +++ b/transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpChannelConfig.java @@ -88,8 +88,8 @@ public class DefaultSctpChannelConfig extends DefaultChannelConfig implements Sc } else if (option == SCTP_NODELAY) { setSctpNoDelay((Boolean) value); } else if (option == SCTP_INIT_MAXSTREAMS) { - List minMax = (List) value; - setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(minMax.get(0), minMax.get(1))); + List streams = (List) value; + setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(streams.get(0), streams.get(1))); } else { return super.setOption(option, value); }