[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1078) EJB3InterceptorsFactory.createPerJoinpoint() should log String representation of Array, not Array reference

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Wed Oct 24 13:48:01 EDT 2007


EJB3InterceptorsFactory.createPerJoinpoint() should log String representation of Array, not Array reference
-----------------------------------------------------------------------------------------------------------

                 Key: EJBTHREE-1078
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1078
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: AS 4.2.2.GA, AS 5.0.0.Beta3
            Reporter: Galder Zamarreno


EJB3InterceptorsFactory.createPerJoinpoint()

InterceptorInfo[] infos = container.getInterceptorRepository().getBusinessInterceptors(container, method);
...
log.debug("Bound interceptors for joinpoint: " + method + " - " + infos);

The log message is meaningless. It will print an array reference.

This should be instead:

log.debug("Bound interceptors for joinpoint: " + method + " - " + Arrays.toString(infos));

InterceptorInfo implements toString()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list