ARTEMIS-651 Typo in word "topology" in class ServerLocatorImpl

This commit is contained in:
Martin Styk 2016-07-25 13:51:20 +02:00 committed by Clebert Suconic
parent d7c149b416
commit c9dfbad69c
2 changed files with 3 additions and 3 deletions

View File

@ -540,7 +540,7 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
// if the topologyArray is null, we will use the initialConnectors
if (usedTopology != null) {
if (logger.isTraceEnabled()) {
logger.trace("Selecting connector from toplogy.");
logger.trace("Selecting connector from topology.");
}
int pos = loadBalancingPolicy.select(usedTopology.length);
Pair<TransportConfiguration, TransportConfiguration> pair = usedTopology[pos];
@ -1844,7 +1844,7 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
return clone;
}
public boolean isReceivedToplogy() {
public boolean isReceivedTopology() {
return receivedTopology;
}

View File

@ -145,7 +145,7 @@ public class ActiveMQClusteredTest extends ActiveMQRAClusteredTestBase {
long timeout = 10000;
long now = System.currentTimeMillis();
while (!((ServerLocatorImpl)cf1.getServerLocator()).isReceivedToplogy()) {
while (!((ServerLocatorImpl)cf1.getServerLocator()).isReceivedTopology()) {
Thread.sleep(50);
}