mq-java-exporter icon indicating copy to clipboard operation
mq-java-exporter copied to clipboard

Don't use Hashtable

Open willardgibbs opened this issue 6 years ago • 0 comments

In code we use Hashtable, because MQQueueManager constructor have it in signature. But in [a64f23d] I made the following feature:

public void establish(String qmNqme, Map<String, Object> connectionProperties) throws MQException {
        queueManager = new MQQueueManager(qmNqme, new Hashtable<>(connectionProperties));
}

Now we can replaсe all Hashtable with HashMap except this method (SonarLint treats it well).

willardgibbs avatar Apr 18 '19 07:04 willardgibbs