Looks like Dave already fixed Yohoho, so we're in the clear.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5141 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-05-28 22:27:25 +00:00
parent 8e7e9b1278
commit 64f418fca9
@@ -21,7 +21,6 @@
package com.threerings.presents.client; package com.threerings.presents.client;
import com.samskivert.util.Log;
import com.samskivert.util.Logger; import com.samskivert.util.Logger;
/** /**
@@ -30,16 +29,6 @@ import com.samskivert.util.Logger;
public class LoggingListener public class LoggingListener
implements InvocationService.InvocationListener implements InvocationService.InvocationListener
{ {
/**
* Constructs a listener that will report the supplied error message along with the reason for
* failure to the supplied log object.
*/
public LoggingListener (Log log, String errmsg)
{
_log = log;
_errmsg = errmsg;
}
/** /**
* Constructs a listener that will report the supplied error message along with the reason for * Constructs a listener that will report the supplied error message along with the reason for
* failure to the supplied log object. * failure to the supplied log object.
@@ -53,14 +42,9 @@ public class LoggingListener
// documentation inherited from interface // documentation inherited from interface
public void requestFailed (String reason) public void requestFailed (String reason)
{ {
if (_logger != null) { _logger.warning(_errmsg + " [reason=" + reason + "].");
_logger.warning(_errmsg + " [reason=" + reason + "].");
} else {
_log.warning(_errmsg + " [reason=" + reason + "].");
}
} }
protected Log _log;
protected Logger _logger; protected Logger _logger;
protected String _errmsg; protected String _errmsg;
} }