Revert "remove dead code warning"

This reverts commit 66398574cc3032a3f02745b857e49ad84f241f8f.
JBIDE-10219 Migrate org.eclipse.core.runtime.contentTypes extension points to org.eclipse.core.contenttype.contentTypes