void () { final Sdk[] projectSdks = ProjectJdkTable.getInstance().getAllJdks(); for (Sdk sdk : projectSdks) { if (myProjectSdks.containsKey(sdk) || myProjectSdks.containsValue(sdk)) continue; Sdk editableCopy; try { editableCopy = (Sdk)sdk.clone(); } catch (CloneNotSupportedException e) { LOG.error(e); continue; } myProjectSdks.put(sdk, editableCopy); SdkDownloadTracker.getInstance().registerEditableSdk(sdk, editableCopy); getMulticaster().sdkAdded(editableCopy); } }