Adds String.format to some debug strings
This commit is contained in:
parent
aa3bb58b33
commit
ac25f2747f
@ -252,14 +252,14 @@ public class PortalRegistry {
|
|||||||
} else {
|
} else {
|
||||||
//Check if network exists in the lookup list. If not, register the new network
|
//Check if network exists in the lookup list. If not, register the new network
|
||||||
if (!portalLookupByNetwork.containsKey(networkName)) {
|
if (!portalLookupByNetwork.containsKey(networkName)) {
|
||||||
Stargate.debug("register", "Network " + portal.getNetwork() +
|
Stargate.debug("register", String.format("Network %s not in lookupNamesNet, adding",
|
||||||
" not in lookupNamesNet, adding");
|
portal.getNetwork()));
|
||||||
portalLookupByNetwork.put(networkName, new HashMap<>());
|
portalLookupByNetwork.put(networkName, new HashMap<>());
|
||||||
}
|
}
|
||||||
//Check if this network exists in the network list. If not, register the network
|
//Check if this network exists in the network list. If not, register the network
|
||||||
if (!allPortalNetworks.containsKey(networkName)) {
|
if (!allPortalNetworks.containsKey(networkName)) {
|
||||||
Stargate.debug("register", "Network " + portal.getNetwork() +
|
Stargate.debug("register", String.format("Network %s not in allPortalsNet, adding",
|
||||||
" not in allPortalsNet, adding");
|
portal.getNetwork()));
|
||||||
allPortalNetworks.put(networkName, new ArrayList<>());
|
allPortalNetworks.put(networkName, new ArrayList<>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user