// Adding the node to all segments found
for (WaySegment virtualSegment : virtualSegments) {
Way w = virtualSegment.way;
Way wnew = new Way(w);
wnew.addNode(virtualSegment.lowerIndex + 1, virtualNode);
virtualCmds.add(new ChangeCommand(w, wnew));
}
// Finishing the sequence command
String text = trn("Add a new node to way",