public void removeConnectionDetails(ConnectionDetails cd) {
try {
Preferences preferences = new InstanceScope()
.getNode(ClientPlugin.PLUGIN_ID);
Preferences connections = preferences.node(SAVED);
String[] targets = connections.childrenNames();
for (int i = 0; i < targets.length; i++) {
String target = targets[i];
Preferences node = connections.node(target);
String cdTarget = normalizeURI(cd.getTargetURI());
if (node != null && target != null && target.equals(cdTarget)) {