Bug 475944 - Delete IPluginDescriptor and related API for deletion
Change-Id: I940bc822e7f9da074940d9e6c21994fee6420e30
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.resources/.settings/.api_filters b/bundles/org.eclipse.core.resources/.settings/.api_filters
new file mode 100644
index 0000000..759a9aa
--- /dev/null
+++ b/bundles/org.eclipse.core.resources/.settings/.api_filters
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<component id="org.eclipse.core.resources" version="2">
+ <resource path="src/org/eclipse/core/resources/IProject.java" type="org.eclipse.core.resources.IProject">
+ <filter id="405901410">
+ <message_arguments>
+ <message_argument value="org.eclipse.core.resources.IProject"/>
+ <message_argument value="getPluginWorkingLocation(IPluginDescriptor)"/>
+ </message_arguments>
+ </filter>
+ </resource>
+</component>
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
index 2a6dc32..ac6c799 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Project.java
@@ -420,14 +420,6 @@
}
@Override
- @Deprecated
- public IPath getPluginWorkingLocation(IPluginDescriptor plugin) {
- if (plugin == null)
- return null;
- return getWorkingLocation(plugin.getUniqueIdentifier());
- }
-
- @Override
public IProject getProject() {
return this;
}
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IProject.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IProject.java
index eddfbca..3fc69f9 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IProject.java
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IProject.java
@@ -562,24 +562,6 @@
/**
* Returns the location in the local file system of the project-specific
- * working data area for use by the given plug-in or <code>null</code>
- * if the project does not exist.
- * <p>
- * The content, structure, and management of this area is
- * the responsibility of the plug-in. This area is deleted when the
- * project is deleted.
- * </p><p>
- * This project needs to exist but does not need to be open.
- * </p>
- * @param plugin the plug-in
- * @return a local file system path
- * @deprecated Use <code>IProject.getWorkingLocation(plugin.getUniqueIdentifier())</code>.
- */
- @Deprecated
- IPath getPluginWorkingLocation(IPluginDescriptor plugin);
-
- /**
- * Returns the location in the local file system of the project-specific
* working data area for use by the bundle/plug-in with the given identifier,
* or <code>null</code> if the project does not exist.
* <p>