JSR-356 removing redundant try/catch

This commit is contained in:
Joakim Erdfelt 2013-04-22 11:16:01 -07:00
parent bcff9de1e7
commit 346034b44f
1 changed files with 1 additions and 8 deletions

View File

@ -106,14 +106,7 @@ public class WebSocketChatServlet extends WebSocketServlet implements WebSocketC
{
if (data.contains("disconnect"))
{
try
{
session.close();
}
catch (IOException ignore)
{
// ignore
}
session.close();
return;
}