Simplified Handler by removing the context parameter from failed().

This commit is contained in:
Simone Bordet 2012-02-24 00:45:40 +01:00
parent f4f04f8fcf
commit e1e9aa1ad5
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ public class StandardStream implements IStream
catch (StreamException x) catch (StreamException x)
{ {
logger.debug("Could not send reply on stream " + this, x); logger.debug("Could not send reply on stream " + this, x);
handler.failed(x, null); handler.failed(x);
session.rst(new RstInfo(getId(), x.getStreamStatus())); session.rst(new RstInfo(getId(), x.getStreamStatus()));
} }
} }
@ -327,7 +327,7 @@ public class StandardStream implements IStream
catch (StreamException x) catch (StreamException x)
{ {
logger.debug("Could not send headers on stream " + this, x); logger.debug("Could not send headers on stream " + this, x);
handler.failed(x, null); handler.failed(x);
session.rst(new RstInfo(getId(), x.getStreamStatus())); session.rst(new RstInfo(getId(), x.getStreamStatus()));
} }
} }