ARTEMIS-347 Fixing NPE
This commit is contained in:
parent
2d4654ca26
commit
0a9a6c92f4
|
@ -377,7 +377,7 @@ public final class ClusterConnectionConfiguration implements Serializable {
|
|||
return list.toArray(new TransportConfiguration[list.size()]);
|
||||
}
|
||||
else {
|
||||
return configuration.getTransportConfigurations(staticConnectors);
|
||||
return staticConnectors != null ? configuration.getTransportConfigurations(staticConnectors) : null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue