diff --git a/src/java/com/threerings/presents/client/LoggingListener.java b/src/java/com/threerings/presents/client/LoggingListener.java index 330903c5c..87d701551 100644 --- a/src/java/com/threerings/presents/client/LoggingListener.java +++ b/src/java/com/threerings/presents/client/LoggingListener.java @@ -21,7 +21,6 @@ package com.threerings.presents.client; -import com.samskivert.util.Log; import com.samskivert.util.Logger; /** @@ -30,16 +29,6 @@ import com.samskivert.util.Logger; public class LoggingListener 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 * failure to the supplied log object. @@ -53,14 +42,9 @@ public class LoggingListener // documentation inherited from interface public void requestFailed (String reason) { - if (_logger != null) { - _logger.warning(_errmsg + " [reason=" + reason + "]."); - } else { - _log.warning(_errmsg + " [reason=" + reason + "]."); - } + _logger.warning(_errmsg + " [reason=" + reason + "]."); } - protected Log _log; protected Logger _logger; protected String _errmsg; }