Commits

Arkadiusz Głowacki committed ed0b8c0

JDEV-27642 - Changed logic to use toString which is more verbose than class name of proxy

  • Participants
  • Parent commits e915d4a

Comments (0)

Files changed (1)

jira-testkit-plugin/src/main/java/com/atlassian/jira/testkit/plugin/MailServersBackdoor.java

 import org.apache.commons.lang.StringUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.aop.framework.AopProxyUtils;
+import org.springframework.aop.support.AopUtils;
 
 import java.util.List;
 import javax.ws.rs.Consumes;
     {
         LOGGER.info("Flushing mail Queue - currentQueueSize = {}", mailQueue.size());
         LOGGER.debug("Mail queue of type: {}, from classloader: {}, ",
-                mailQueue.getClass().getName(),
+                mailQueue.toString(),
                 mailQueue.getClass().getClassLoader().toString());
 
         mailQueue.sendBuffer();