Iterator iterator = selection.iterator();
while (iterator.hasNext()) {
ContainerNode agentNode = ContainerNode
.toContainerNode(iterator.next());
if (agentNode != null) {
if (!agentNode.matches(version)) {
agentNode.getContainer().setVersion(version);
changed = true;
}
}
}