Minor refactoring in variable naming in sctp stream config

This commit is contained in:
Jestan Nirojan 2013-07-09 22:51:29 +05:30 committed by Norman Maurer
parent 276d619afb
commit e062f7f6f9

View File

@ -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<Integer> minMax = (List<Integer>) value;
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(minMax.get(0), minMax.get(1)));
List<Integer> streams = (List<Integer>) value;
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams.create(streams.get(0), streams.get(1)));
} else {
return super.setOption(option, value);
}