Fixing harmless NPE seen during testing.

This commit is contained in:
Joakim Erdfelt 2012-12-21 14:00:36 -07:00
parent e1a663865c
commit 1936a0fc51
1 changed files with 2 additions and 2 deletions

View File

@ -41,6 +41,7 @@ public class LocalWebSocketConnection implements WebSocketConnection, LogicalCon
private WebSocketPolicy policy = WebSocketPolicy.newServerPolicy();
private boolean open = false;
private IncomingFrames incoming;
private IOState ioState = new IOState();
public LocalWebSocketConnection()
{
@ -83,8 +84,7 @@ public class LocalWebSocketConnection implements WebSocketConnection, LogicalCon
@Override
public IOState getIOState()
{
// TODO Auto-generated method stub
return null;
return ioState;
}
@Override