1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Removed unused imports.

This commit is contained in:
Mikhail Khodjaiants 2005-06-29 05:28:57 +00:00
parent a4b032301a
commit 05422c38fe
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2005-06-29 Mikhail Khodjaiants
Removed unused imports.
* CBreapointWorkbencAdapterFactory.java
2005-06-25 Alain Magloire
Fix PR 94735: return an empty object.
* src/org/eclipse/cdt/debug/internal/ui/CBreapointWorkbencAdapterFactory.java

View file

@ -14,7 +14,6 @@ import org.eclipse.cdt.debug.core.model.ICBreakpoint;
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
import org.eclipse.cdt.debug.core.model.ICWatchpoint;
import org.eclipse.core.runtime.IAdapterFactory;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.model.IWorkbenchAdapter;
import org.eclipse.ui.model.WorkbenchAdapter;
@ -33,10 +32,10 @@ public class CBreakpointWorkbenchAdapterFactory implements IAdapterFactory {
return new WorkbenchAdapter() {
public String getLabel( Object o ) {
// for now
if ( (o instanceof ICLineBreakpoint) ) {
if ( o instanceof ICLineBreakpoint ) {
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.0" ); //$NON-NLS-1$
}
if ( (o instanceof ICWatchpoint) ) {
if ( o instanceof ICWatchpoint ) {
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.1" ); //$NON-NLS-1$
}
return super.getLabel( o );