This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Parameters.notNull("projectConfigurationNamespace", projectConfigurationNamespace); //NOI18N
Parameters.notNull("sourceLevel", sourceLevel); //NOI18N
PlatformKey platformKey;
JavaPlatform platform = null;
if (platformName != null) {
platformKey = new PlatformKey(PlatformUiSupport.findPlatform(platformName));
platform = PlatformUiSupport.findPlatform(platformName);
} else {
platformKey = new PlatformKey(JavaPlatformManager.getDefault().getDefaultPlatform());
}
storePlatform(props, helper, projectConfigurationNamespace, platformKey, new SourceLevelKey(sourceLevel));
if (platform == null) {
platform = JavaPlatformManager.getDefault().getDefaultPlatform();
storePlatform(props, helper, projectConfigurationNamespace, new PlatformKey(platform), new SourceLevelKey(sourceLevel));