Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 305961 | Differences between
and this patch

Collapse All | Expand All

(-)extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java (+4 lines)
Lines 774-780 Link Here
774
		if (linkTargetPath != null)
774
		if (linkTargetPath != null)
775
			return false;
775
			return false;
776
		IPath containerPath = resourceGroup.getContainerFullPath();
776
		IPath containerPath = resourceGroup.getContainerFullPath();
777
		if (containerPath == null)
778
			return false;
777
		String resourceName = resourceGroup.getResource();
779
		String resourceName = resourceGroup.getResource();
780
		if (resourceName == null)
781
			return false;
778
		if (resourceName.length() > 0) {
782
		if (resourceName.length() > 0) {
779
			IPath newFolderPath = containerPath.append(resourceName);
783
			IPath newFolderPath = containerPath.append(resourceName);
780
			IFile newFileHandle = createFileHandle(newFolderPath);
784
			IFile newFileHandle = createFileHandle(newFolderPath);
(-)extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java (+4 lines)
Lines 717-723 Link Here
717
		if (linkTargetPath != null)
717
		if (linkTargetPath != null)
718
			return false;
718
			return false;
719
		IPath containerPath = resourceGroup.getContainerFullPath();
719
		IPath containerPath = resourceGroup.getContainerFullPath();
720
		if (containerPath == null)
721
			return false;
720
		String resourceName = resourceGroup.getResource();
722
		String resourceName = resourceGroup.getResource();
723
		if (resourceName == null)
724
			return false;
721
		if (resourceName.length() > 0) {
725
		if (resourceName.length() > 0) {
722
			IPath newFolderPath = containerPath.append(resourceName);
726
			IPath newFolderPath = containerPath.append(resourceName);
723
			IFolder newFolderHandle = createFolderHandle(newFolderPath);
727
			IFolder newFolderHandle = createFolderHandle(newFolderPath);

Return to bug 305961