Bug 501746 - Cleanup deprecation warnings in org.eclipse.core.contenttype
- IConfigurationElement.getAttributeAsIs(String) can be safely replaced
by IConfigurationElement.getAttribute(String) per Javadoc
- Add @SuppressWarnings("deprecation") on ContentTypeCatalog.describe()
as it provides backward compatibility with
XMLRootElementContentDescriber. Thus, the warning cannot be removed.
Change-Id: If99cf654adec9dd10811533d36826de155b35f91
Signed-off-by: Mikael Barbero <mikael@eclipse.org>
3 files changed