mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-11 12:35:47 +00:00
Previously we were using a long regular expression to detect whether or not a given host was IPv6. However, this was brittle and hard to read. Since we are already shipping Google Guava in the distribution it made sense to use the Guava method com.google.common.net.InetAddresses#isInetAddress rather than the regular expression.