Created
August 22, 2012 11:55
-
-
Save trustin/3424833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Before: | |
ServerBootstrap b = new ServerBootstrap(); | |
try { | |
b.eventLoop(new NioEventLoop(), new NioEventLoop()); // <-- HERE | |
... | |
} finally { b.shutdown(); } | |
// After: | |
ServerBootstrap b = new ServerBootstrap(); | |
try { | |
b.group(new NioEventLoopGroup(), new NioEventLoopGroup()); // <!-- HERE | |
... | |
} finally { b.shutdown(); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment