[weld-issues] [JBoss JIRA] Updated: (WELD-946) Better format of "interceptor class specified twice" message.
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Wed Jul 20 15:20:23 EDT 2011
[ https://issues.jboss.org/browse/WELD-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Zizka updated WELD-946:
------------------------------
Description:
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/test/resources/META-INF/beans.xml at 10]
{code}
The same probably applies to decorators.
was:
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}
The same probably applies to decorators.
> 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
> Priority: Minor
>
> 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/test/resources/META-INF/beans.xml at 10]
> {code}
> The same probably applies to decorators.
--
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