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

clebert suconic closed ARTEMIS-1067.
------------------------------------

> 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.1.0
>            Reporter: Jiri Danek
>            Priority: Trivial
>             Fix For: 2.1.0
>
>
> {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.4.14#64029)

Reply via email to