}
unlockGraph();
final Set<Vertex> vipl = getVertexIsPresentList();
putVertexIsPresentList();
if (vertexToConstraintPHMap.containsKey(v)) {
final ConstraintPHInfo cphi = (ConstraintPHInfo) getInfo(v);
if (cphi == null) {
continue;
}
if (!vipl.contains(v)) {
cphi.setUpdated(false);
if (!getClusterBrowser().crmStatusFailed()
&& cphi.getService().isRemoved()) {
getVertexLocations().put(v, null);
putVertexLocations();
lockGraph();
getGraph().removeVertex(v);
removeInfo(v);
removeVertex(cphi);
unlockGraph();
cphi.removeInfo();
getVertexToMenus().remove(v);
vertexToConstraintPHMap.remove(v);
constraintPHToVertexMap.remove(cphi);
somethingChanged();
} else {
cphi.getService().setNew(true);
}
}
cphi.resetRscSetConnectionData();
} else {
if (!vipl.contains(v)) {
final ServiceInfo si = (ServiceInfo) getInfo(v);
if (si != null && !si.getService().isNew() && !getClusterBrowser().crmStatusFailed()) {
si.setUpdated(false);