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 218703 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java (-1 / +6 lines)
Lines 605-613 Link Here
605
			}
605
			}
606
		}
606
		}
607
		URI locationURI = getLinkTargetURI();
607
		URI locationURI = getLinkTargetURI();
608
		if (locationURI == null) {
609
			return createStatus(
610
					IStatus.WARNING,
611
					IDEWorkbenchMessages.CreateLinkedResourceGroup_unableToValidateLinkTarget);
612
		}
608
		IStatus locationStatus = workspace.validateLinkLocationURI(linkHandle,
613
		IStatus locationStatus = workspace.validateLinkLocationURI(linkHandle,
609
				locationURI);
614
				locationURI);
610
		if (locationStatus.getSeverity() == IStatus.ERROR) {
615
		if (locationStatus.getSeverity() == IStatus.ERROR || linkTarget.trim().equals("")) { //$NON-NLS-1$
611
			return locationStatus;
616
			return locationStatus;
612
		}
617
		}
613
618

Return to bug 218703