Community
Participate
Working Groups
While doing cleanup in ide (bug 461762) I observed that org.eclipse.ui.workbench also needs some love (~7200 warnings), but one thing one definitely should do is to change Object getAdapter(Class) to <T> T getAdapter(Class<T>) in org.eclipse.ui.internal.util.Util and org.eclipse.ui.part.WorkbenchPart classes and cleanup all the "unnecessary cast" warnings coming from them and the already generified version of Platform.getAdapterManager().getAdapter().
New Gerrit change created: https://git.eclipse.org/r/43486
Gerrit change https://git.eclipse.org/r/43486 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7a5f35e86e5c794672d1418e11bd561a2560b129
.
New Gerrit change created: https://git.eclipse.org/r/44213
Verified in I20150318-2000. N&N notes for WorkbenchPart.getAdapter(): https://git.eclipse.org/r/44213
*** Bug 463027 has been marked as a duplicate of this bug. ***