mirror of https://github.com/apache/activemq.git
Reformat some code
This commit is contained in:
parent
7480c66031
commit
252dda94a3
|
@ -291,25 +291,28 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent, Runnable {
|
|||
discoveryURI = new URI(DEFAULT_DISCOVERY_URI_STRING);
|
||||
}
|
||||
|
||||
if (LOG.isTraceEnabled())
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace("start - discoveryURI = " + discoveryURI);
|
||||
}
|
||||
|
||||
String myHost = discoveryURI.getHost();
|
||||
int myPort = discoveryURI.getPort();
|
||||
|
||||
if( DEFAULT_HOST_STR.equals(myHost) )
|
||||
if (DEFAULT_HOST_STR.equals(myHost)) {
|
||||
myHost = DEFAULT_HOST_IP;
|
||||
}
|
||||
|
||||
if(myPort < 0 )
|
||||
if (myPort < 0) {
|
||||
myPort = DEFAULT_PORT;
|
||||
}
|
||||
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace("start - myHost = " + myHost);
|
||||
LOG.trace("start - myPort = " + myPort);
|
||||
LOG.trace("start - group = " + group );
|
||||
LOG.trace("start - interface = " + mcInterface );
|
||||
LOG.trace("start - network interface = " + mcNetworkInterface );
|
||||
LOG.trace("start - join network interface = " + mcJoinNetworkInterface );
|
||||
LOG.trace("start - group = " + group);
|
||||
LOG.trace("start - interface = " + mcInterface);
|
||||
LOG.trace("start - network interface = " + mcNetworkInterface);
|
||||
LOG.trace("start - join network interface = " + mcJoinNetworkInterface);
|
||||
}
|
||||
|
||||
this.inetAddress = InetAddress.getByName(myHost);
|
||||
|
|
Loading…
Reference in New Issue