Formatting

This commit is contained in:
Mattias Holmqvist 2011-11-24 21:53:47 +01:00
parent 9deaa23502
commit e6200d6374
1 changed files with 1 additions and 3 deletions

View File

@ -55,9 +55,7 @@ public class ScanNetworkWithPing implements Statement {
public String render(OsFamily family) { public String render(OsFamily family) {
network = network.substring(0, network.lastIndexOf(".")); network = network.substring(0, network.lastIndexOf("."));
StringBuilder arp = new StringBuilder(); StringBuilder arp = new StringBuilder();
arp.append(Utils.replaceTokens(OS_TO_PING.get(family), ImmutableMap.of( arp.append(Utils.replaceTokens(OS_TO_PING.get(family), ImmutableMap.of("network", network)));
"network", network)));
return arp.toString(); return arp.toString();
} }