1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Removed unnecessary SuppressWarnings annotation.

This commit is contained in:
Pawel Piech 2009-09-22 18:33:30 +00:00
parent 764537d049
commit ae26fbe4eb

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2006, 2008 Wind River Systems and others. * Copyright (c) 2006, 2009 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -39,8 +39,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxy;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerInputProvider; import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerInputProvider;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerInputUpdate; import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerInputUpdate;
import org.eclipse.debug.internal.ui.viewers.provisional.IAsynchronousContentAdapter;
import org.eclipse.debug.internal.ui.viewers.provisional.IAsynchronousLabelAdapter;
import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Display;
/** /**
@ -57,14 +55,11 @@ import org.eclipse.swt.widgets.Display;
* <p/> * <p/>
* Clients are intended to extend this class. * Clients are intended to extend this class.
* *
* @see IAsynchronousContentAdapter
* @see IAsynchronousLabelAdapter
* @see IModelProxy * @see IModelProxy
* @see IVMNode * @see IVMNode
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
abstract public class AbstractVMProvider implements IVMProvider, IVMEventListener abstract public class AbstractVMProvider implements IVMProvider, IVMEventListener
{ {
// debug flags // debug flags
@ -363,7 +358,7 @@ abstract public class AbstractVMProvider implements IVMProvider, IVMEventListene
* @param rm Request monitor to call when processing the event is * @param rm Request monitor to call when processing the event is
* completed. * completed.
*/ */
protected void handleEvent(final IVMModelProxy proxyStrategy, final Object event,final RequestMonitor rm) { protected void handleEvent(final IVMModelProxy proxyStrategy, final Object event, RequestMonitor rm) {
if (!proxyStrategy.isDisposed()) { if (!proxyStrategy.isDisposed()) {
if (DEBUG_DELTA && (DEBUG_PRESENTATION_ID == null || getPresentationContext().getId().equals(DEBUG_PRESENTATION_ID))) { if (DEBUG_DELTA && (DEBUG_PRESENTATION_ID == null || getPresentationContext().getId().equals(DEBUG_PRESENTATION_ID))) {
DsfUIPlugin.debug("eventProcessing(proxyRoot = " + proxyStrategy.getRootElement() + ", event = " + event + ")" ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ DsfUIPlugin.debug("eventProcessing(proxyRoot = " + proxyStrategy.getRootElement() + ", event = " + event + ")" ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$