Revert "Minor refactoring in variable naming in sctp stream config"

This reverts commit e062f7f6f9.
This commit is contained in:
Norman Maurer 2013-07-09 21:53:19 +02:00
parent e062f7f6f9
commit d83daf0530

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