ARTEMIS-651 Typo in word "topology" in class ServerLocatorImpl
This commit is contained in:
parent
d7c149b416
commit
c9dfbad69c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue