isartcanyameres/opennaas — comment on commit ce8c0e29ef8fcd57adf52b990fba8beb9267b5e8
File: manticore/bundles/net.i2cat.mantychore.actionsets.junos/src/main/java/net/i2cat/mantychore/actionsets/junos/actions/GetConfigurationAction.java line 170
By gbehrmann:

Stuff like this is easier (and faster) when you write it as:

for (NextHopRoute nh: routingOptionsParser.getMapElements().values()) {
routerModel.addNextHopRoute(nh);
}