You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2017/03/29 16:30:41 UTC

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

     [ https://issues.apache.org/jira/browse/ARTEMIS-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-1067.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.next

> 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
>             Fix For: 2.next
>
>
> {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)