Jiri Danek created ARTEMIS-1067:
-----------------------------------

             Summary: Wrong format string specifiers in exception messages
                 Key: ARTEMIS-1067
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1067
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.next
            Reporter: Jiri Danek
            Priority: Trivial


{noformat}
   public AbstractActiveMQClientResource(String url) {
      if (url == null) {
         throw new IllegalArgumentException(String.format("Error creating {} - 
url cannot be null", this.getClass().getSimpleName()));
      }
{noformat}

{{String.format}} does not recognize the \{\} placeholder.

There are three instances of this



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to