mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
removed unnecessary code
This commit is contained in:
parent
819d909a4d
commit
5a695e5cf5
1 changed files with 0 additions and 4 deletions
|
@ -14,7 +14,6 @@ import java.util.Iterator;
|
|||
|
||||
import org.eclipse.cdt.codan.core.CodanRuntime;
|
||||
import org.eclipse.cdt.codan.internal.ui.CodanUIMessages;
|
||||
import org.eclipse.cdt.core.model.ICContainer;
|
||||
import org.eclipse.core.resources.IResource;
|
||||
import org.eclipse.core.runtime.IAdaptable;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
|
@ -47,9 +46,6 @@ public class RunCodeAnalysis implements IObjectActionDelegate {
|
|||
return Status.CANCEL_STATUS;
|
||||
for (Iterator iterator = ss.iterator(); iterator.hasNext();) {
|
||||
Object o = iterator.next();
|
||||
if (o instanceof ICContainer) {
|
||||
o = ((ICContainer) o).getResource();
|
||||
}
|
||||
if (o instanceof IAdaptable) {
|
||||
o = ((IAdaptable) o).getAdapter(IResource.class);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue