[ 
https://issues.apache.org/jira/browse/ARTEMIS-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941206#comment-15941206
 ] 

ASF subversion and git services commented on ARTEMIS-1067:
----------------------------------------------------------

Commit 3c5595e7fc718afcc2187e491d3b6fc8a982f482 in activemq-artemis's branch 
refs/heads/master from [~jdanek]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=3c5595e ]

ARTEMIS-1067 fix format specifiers in formatting strings


> 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