[weld-issues] [JBoss JIRA] Created: (WELD-946) Better format of "interceptor class specified twice" message.

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Wed Jul 20 15:18:23 EDT 2011


Better format of "interceptor class specified twice" message.
-------------------------------------------------------------

                 Key: WELD-946
                 URL: https://issues.jboss.org/browse/WELD-946
             Project: Weld
          Issue Type: Enhancement
          Components: Interceptors and Decorators
            Reporter: Ondrej Zizka


Currently, the message is on a single line, usually very long one.
{code}
WELD-001416 Enabled interceptor class [<class>org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class> in file:/home/ondra/work-unrelated/CDI-SE-JPA/target/classes/META-INF/beans.xml at 10, <class>org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class> in file:/home/ondra/work-unrelated/CDI-SE-JPA/src/main/java/META-INF/beans.xml at 10] specified twice
{code}

Adding some newlines would improve readability:

{code}
WELD-001416 Enabled interceptor class specified twice:
<class>org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class> in file:/home/ondra/work-unrelated/CDI-SE-JPA/target/classes/META-INF/beans.xml at 10, 
<class>org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class> in file:/home/ondra/work-unrelated/CDI-SE-JPA/src/main/java/META-INF/beans.xml at 10] 
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list