Github user istudens commented on the pull request:
https://github.com/apache/activemq-artemis/pull/211#issuecomment-150225404
It most likely can be simplified as you pointed out. I was following the
WildFly code where it was done exactly as I did and I was not sure if it was
done this way for a good reason or not. David Lloyd might know more. It
partially came out of his (untracked in jira) change in JBossThreadFactory.
Feel free to change it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---