diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java index 2119bbb3c..ad3c95fa5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java @@ -39,21 +39,21 @@ public class DebugUIAdapterFactory implements IAdapterFactory { if (adapterType == IPersistableElement.class) { if (obj instanceof IBreakpoint) { - return (T) new BreakpointPersistableElementAdapter((IBreakpoint)obj); - } + return (T) new BreakpointPersistableElementAdapter((IBreakpoint)obj); + } } - if (adapterType == IWorkbenchAdapter.class) { - if (obj instanceof IBreakpointContainer) { - return (T) new BreakpointContainerWorkbenchAdapter(); - } - } + if (adapterType == IWorkbenchAdapter.class) { + if (obj instanceof IBreakpointContainer) { + return (T) new BreakpointContainerWorkbenchAdapter(); + } + } - if (adapterType == IWorkbenchAdapter2.class) { - if (obj instanceof IBreakpointContainer) { - return (T) new BreakpointContainerWorkbenchAdapter(); - } - } + if (adapterType == IWorkbenchAdapter2.class) { + if (obj instanceof IBreakpointContainer) { + return (T) new BreakpointContainerWorkbenchAdapter(); + } + } return null; } |