Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-946

Better format of "interceptor class specified twice" message.

    XMLWordPrintable

Details

    Description

      Currently, the message is on a single line, usually very long one.

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

      Adding some newlines would improve readability:

      WELD-001416 Enabled interceptor class specified twice:
      <class&gt;org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class&gt; in file:/home/ondra/work-unrelated/CDI-SE-JPA/target/classes/META-INF/beans.xml@10, 
      <class&gt;org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class&gt; in file:/home/ondra/work-unrelated/CDI-SE-JPA/src/test/resources/META-INF/beans.xml@10] 
      

      The same probably applies to decorators.

      Attachments

        Activity

          People

            marko.luksa@gmail.com Marko Luksa (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: