JSR-356 - Fixing StackOverflowError on Session.getProtocolVersion()

This commit is contained in:
Joakim Erdfelt 2013-07-15 11:39:56 -07:00
parent 2362a4e8b3
commit 6bd2f8fd3e
1 changed files with 1 additions and 7 deletions

View File

@ -273,12 +273,6 @@ public class JsrSession extends WebSocketSession implements javax.websocket.Sess
return Collections.unmodifiableMap(pathParameters);
}
@Override
public String getProtocolVersion()
{
return getProtocolVersion();
}
@Override
public String getQueryString()
{
@ -300,7 +294,7 @@ public class JsrSession extends WebSocketSession implements javax.websocket.Sess
@Override
public Principal getUserPrincipal()
{
// TODO Auto-generated method stub
// FIXME return getUpgradeRequest().getUserPrincipal();
return null;
}