diff options
| author | Hendrik Eeckhaut | 2012-02-07 12:55:53 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-02-07 12:55:53 +0000 |
| commit | d59df20d10f9f093ef19c6bfc1daaa6c7a21013f (patch) | |
| tree | e51109275380bdf4ac96431b8203c60fda4371e0 | |
| parent | 5434bb309a41cdffe2752c29a6f5fa35dd1556ba (diff) | |
| download | eclipse.platform.ui-d59df20d10f9f093ef19c6bfc1daaa6c7a21013f.tar.gz eclipse.platform.ui-d59df20d10f9f093ef19c6bfc1daaa6c7a21013f.tar.xz eclipse.platform.ui-d59df20d10f9f093ef19c6bfc1daaa6c7a21013f.zip | |
Bug 370632 - NPE when copying or moving resources linked to non-localv20120207-1255
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(); |
