import java.util.List;
import org.eclipse.core.commands.util.Tracing;
+import org.eclipse.core.runtime.Adapters;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.ISafeRunnable;
import org.eclipse.core.runtime.SafeRunner;
// see bug 138823 - prevent some subclasses from causing
// an infinite loop
if (innerEditor != null && innerEditor != this) {
- result = Util.getAdapter(innerEditor, adapter);
+ result = Adapters.adapt(innerEditor, adapter);
}
}
return result;