diff options
| author | Hendrik Eeckhaut | 2012-02-07 12:55:53 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-02-07 12:58:08 +0000 |
| commit | 7f5a131714ad9ae016b28645560e7579a852a11b (patch) | |
| tree | 917e8a0070b5ad1271ff0ac208e573480fe26d72 | |
| parent | 4f0e1d80fefd3773e96db606b47b798b03beae13 (diff) | |
| download | eclipse.platform.ui-7f5a131714ad9ae016b28645560e7579a852a11b.tar.gz eclipse.platform.ui-7f5a131714ad9ae016b28645560e7579a852a11b.tar.xz eclipse.platform.ui-7f5a131714ad9ae016b28645560e7579a852a11b.zip | |
Bug 370632 - NPE when copying or moving resources linked to non-localI20120207-1245I20120207-1030
filesystem
Use validateLinkLocationURI(*)
| -rw-r--r-- | bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java index b2f749e2538..3c01eb034b4 100644 --- a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java +++ b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java @@ -1670,8 +1670,8 @@ public class CopyFilesAndFoldersOperation { } IWorkspace workspace = destination.getWorkspace(); IResource linkHandle = createLinkedResourceHandle(destination, source); - IStatus locationStatus = workspace.validateLinkLocation(linkHandle, - source.getRawLocation()); + IStatus locationStatus = workspace.validateLinkLocationURI(linkHandle, + source.getRawLocationURI()); if (locationStatus.getSeverity() == IStatus.ERROR) { return locationStatus.getMessage(); |
