mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
be8aecb3af
commit
ef53a9fa4d
7 changed files with 0 additions and 9 deletions
|
@ -77,7 +77,6 @@ public class DisassemblyEditor extends EditorPart implements ITextEditor, IReusa
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.ui.part.EditorPart#init(org.eclipse.ui.IEditorSite, org.eclipse.ui.IEditorInput)
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
@Override
|
||||
public void init( IEditorSite site, IEditorInput input ) throws PartInitException {
|
||||
setSite( site );
|
||||
|
@ -146,7 +145,6 @@ public class DisassemblyEditor extends EditorPart implements ITextEditor, IReusa
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.ui.part.WorkbenchPart#dispose()
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
@Override
|
||||
public void dispose() {
|
||||
DebugUITools.getDebugContextManager().removeDebugContextListener( this );
|
||||
|
|
|
@ -19,9 +19,7 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.PresentationConte
|
|||
|
||||
/**
|
||||
* org.eclipse.cdt.debug.internal.ui.disassembly.viewer.DisassemblyEditorPresentation:
|
||||
* //TODO Add description.
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
public class DisassemblyEditorPresentation extends PresentationContext implements IDocumentPresentation {
|
||||
|
||||
public static final String PROPERTY_SHOW_INSTRUCTIONS = "PROPERTY_SHOW_INSTRUCTIONS"; //$NON-NLS-1$
|
||||
|
|
|
@ -22,7 +22,6 @@ import org.eclipse.jface.text.hyperlink.IHyperlink;
|
|||
* A hyperlink detector detecting words and numbers to support navigation
|
||||
* to a symbolic address.
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
class DisassemblyHyperlinkDetector extends AbstractHyperlinkDetector {
|
||||
|
||||
public class DisassemblyHyperlink implements IHyperlink {
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.eclipse.jface.text.ITextViewer;
|
|||
/**
|
||||
* A text hover to evaluate registers and variables under the cursor.
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
public class DisassemblyTextHover implements ITextHover {
|
||||
|
||||
private final DisassemblyPart fDisassemblyPart;
|
||||
|
|
|
@ -22,7 +22,6 @@ import org.eclipse.jface.text.IRegion;
|
|||
import org.eclipse.jface.text.ITextViewer;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
|
||||
@SuppressWarnings("restriction")
|
||||
public final class ActionGotoAddress extends AbstractDisassemblyAction {
|
||||
public ActionGotoAddress(IDisassemblyPart disassemblyPart) {
|
||||
super(disassemblyPart);
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.eclipse.ui.editors.text.StorageDocumentProvider;
|
|||
/**
|
||||
* SourceDocumentProvider
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
public class SourceDocumentProvider extends StorageDocumentProvider {
|
||||
|
||||
public SourceDocumentProvider() {
|
||||
|
|
|
@ -39,7 +39,6 @@ import org.eclipse.swt.graphics.RGB;
|
|||
/**
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("restriction")
|
||||
public class SourceTagDamagerRepairer extends DefaultDamagerRepairer implements ISourceTagListener {
|
||||
|
||||
private ISourceTagProvider fSourceTagProvider;
|
||||
|
|
Loading…
Add table
Reference in a new issue