diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/ModelXPathEvaluator.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/ModelXPathEvaluator.java index ac3a1408512..83805960306 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/ModelXPathEvaluator.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/ModelXPathEvaluator.java @@ -19,7 +19,7 @@ public class ModelXPathEvaluator { - @SuppressWarnings({ "deprecation", "removal" }) + @SuppressWarnings({ "removal" }) public static Stream findMatchingElements(MApplicationElement searchRoot, String xPath, Class clazz) { return XPathContextFactory.newInstance().newContext(searchRoot).stream(xPath, clazz); }