[288216] PropertyTester org.eclipse.core.resources.contentTypeId should test hierarchy, not just equality
diff --git a/bundles/org.eclipse.wst.sse.core/plugin.xml b/bundles/org.eclipse.wst.sse.core/plugin.xml index 0036500..1b9d769 100644 --- a/bundles/org.eclipse.wst.sse.core/plugin.xml +++ b/bundles/org.eclipse.wst.sse.core/plugin.xml
@@ -46,6 +46,7 @@ <!-- Define the StructuredFilePropertyTester as it will handle tracing the entire --> <!-- content type hierarchy for a file. Only operates on IFiles --> + <!-- Deprecated, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=288216 --> <extension point="org.eclipse.core.expressions.propertyTesters"> <propertyTester class="org.eclipse.wst.sse.core.internal.propertytester.StructuredFilePropertyTester"
diff --git a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/propertytester/StructuredFilePropertyTester.java b/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/propertytester/StructuredFilePropertyTester.java index a64b6b7..184bc03 100644 --- a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/propertytester/StructuredFilePropertyTester.java +++ b/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/propertytester/StructuredFilePropertyTester.java
@@ -23,6 +23,9 @@ * * Based on org.eclipse.core.internal.propertytester.FilePropertyTester * + * @deprecated use org.eclipse.core.resources.contentTypeId instead + * + * https://bugs.eclipse.org/bugs/show_bug.cgi?id=288216 */ public class StructuredFilePropertyTester extends PropertyTester {