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@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@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@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@10] 
{code}

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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to