mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
Cleanup.
This commit is contained in:
parent
8e7198b894
commit
4a0efb0c82
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-12-27 Mikhail Khodjaiants
|
||||
Cleanup.
|
||||
* RetargetAction.java
|
||||
|
||||
2005-12-27 Mikhail Khodjaiants
|
||||
Replaced deprecated org.eclipse.jface.util.ListenerList by
|
||||
org.eclipse.core.runtime.ListenerList.
|
||||
|
|
|
@ -140,8 +140,8 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
|
|||
Object adapter = adaptable.getAdapter(getAdapterClass());
|
||||
if (adapter == null) {
|
||||
IAdapterManager adapterManager = Platform.getAdapterManager();
|
||||
if (adapterManager.hasAdapter(adaptable, getAdapterClass().getName())) { //$NON-NLS-1$
|
||||
fTargetAdapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName()); //$NON-NLS-1$
|
||||
if (adapterManager.hasAdapter(adaptable, getAdapterClass().getName())) {
|
||||
fTargetAdapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName());
|
||||
}
|
||||
}
|
||||
return adapter;
|
||||
|
|
Loading…
Add table
Reference in a new issue