You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/03/23 21:00:44 UTC

[jira] [Created] (ARTEMIS-1067) Wrong format string specifiers in exception messages

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)