You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "guai (JIRA)" <ji...@apache.org> on 2017/10/18 11:14:00 UTC
[jira] [Created] (AMQ-6844) Misleading args order
guai created AMQ-6844:
-------------------------
Summary: Misleading args order
Key: AMQ-6844
URL: https://issues.apache.org/jira/browse/AMQ-6844
Project: ActiveMQ
Issue Type: Improvement
Components: JMS client
Affects Versions: 5.15.1
Reporter: guai
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory:
public ActiveMQConnectionFactory(String url, String user, String password) {...}
org.apache.activemq.ActiveMQConnectionFactory:
public ActiveMQConnectionFactory(String userName, String password, String brokerURL) {...}
all three are strings, url first vs url last can cause problems while migrating and compiler won't even notice.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)