Code style

This commit is contained in:
Trustin Lee 2009-03-12 06:24:42 +00:00
parent 2627751a44
commit 1895864d38

View File

@ -50,7 +50,7 @@ public class HttpTunnelingSessionListener implements HttpSessionListener, Channe
HttpSession session = event.getSession();
ClientBootstrap bootstrap = (ClientBootstrap) session.getServletContext().getAttribute(BOOTSTRAP_PROP);
Boolean streaming = (Boolean) session.getServletContext().getAttribute(STREAMING_PROP);
if(streaming) {
if (streaming) {
session.setMaxInactiveInterval(-1);
}
final HttpTunnelingChannelHandler handler = new HttpTunnelingChannelHandler(streaming, session, (Long) session.getServletContext().getAttribute(RECONNECT_PROP));