james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r756419 - /james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java
Date Fri, 20 Mar 2009 11:25:20 GMT
Author: rdonkin
Date: Fri Mar 20 11:25:19 2009
New Revision: 756419

URL: http://svn.apache.org/viewvc?rev=756419&view=rev
Log:
Delegate toString for trigger JAMES-896 https://issues.apache.org/jira/browse/JAMES-896

Modified:
    james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java

Modified: james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java
URL: http://svn.apache.org/viewvc/james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java?rev=756419&r1=756418&r2=756419&view=diff
==============================================================================
--- james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java
(original)
+++ james/server/trunk/avalon-socket-library/src/main/java/org/apache/james/socket/AbstractJamesHandler.java
Fri Mar 20 11:25:19 2009
@@ -130,8 +130,8 @@
     /**
      * @see org.apache.avalon.framework.service.Serviceable#service(org.apache.avalon.framework.service.ServiceManager)
      */
-    public void service(ServiceManager arg0) throws ServiceException {
-        setDnsServer((DNSService) arg0.lookup(DNSService.ROLE));
+    public void service(ServiceManager manager) throws ServiceException {
+        setDnsServer((DNSService) manager.lookup(DNSService.ROLE));
     }
 
     /**
@@ -434,6 +434,13 @@
             AbstractJamesHandler.this.idleClose();
         }
 
+        /**
+         * Used for context sensitive logging
+         */
+        @Override
+        public String toString() {
+            return AbstractJamesHandler.this.toString();
+        }
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message