mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
[cleanup] fix 'local variable/field is never read' compiler warnings
This commit is contained in:
parent
f4b6dbf27b
commit
7db84e1549
1 changed files with 4 additions and 3 deletions
|
@ -63,7 +63,8 @@ import org.eclipse.ui.IWorkbenchPart;
|
||||||
* @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter
|
* @see org.eclipse.rse.ui.view.ISystemRemoteElementAdapter
|
||||||
* @see org.eclipse.rse.ui.dialogs.SystemPromptDialog
|
* @see org.eclipse.rse.ui.dialogs.SystemPromptDialog
|
||||||
*/
|
*/
|
||||||
public abstract class SystemAbstractPopupMenuExtensionAction implements IObjectActionDelegate
|
public abstract class SystemAbstractPopupMenuExtensionAction
|
||||||
|
implements IObjectActionDelegate
|
||||||
{
|
{
|
||||||
protected IWorkbenchPart viewPart = null;
|
protected IWorkbenchPart viewPart = null;
|
||||||
protected IStructuredSelection sel = null;
|
protected IStructuredSelection sel = null;
|
||||||
|
@ -125,7 +126,7 @@ public abstract class SystemAbstractPopupMenuExtensionAction implements IObjectA
|
||||||
* This is the foreward to us, the actual action. This method's default
|
* This is the foreward to us, the actual action. This method's default
|
||||||
* implementation is to simply call {@link #run()}.
|
* implementation is to simply call {@link #run()}.
|
||||||
*
|
*
|
||||||
* @see IActionDelegate#run(IAction)
|
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
|
||||||
*/
|
*/
|
||||||
public void run(IAction action)
|
public void run(IAction action)
|
||||||
{
|
{
|
||||||
|
@ -138,7 +139,7 @@ public abstract class SystemAbstractPopupMenuExtensionAction implements IObjectA
|
||||||
* method calls getEnabled to determine if the proxy action should be enabled
|
* method calls getEnabled to determine if the proxy action should be enabled
|
||||||
* or not, then calls setEnabled on that proxy action with the result.
|
* or not, then calls setEnabled on that proxy action with the result.
|
||||||
*
|
*
|
||||||
* @see IActionDelegate#selectionChanged(IAction, ISelection)
|
* @see org.eclipse.ui.IActionDelegate#selectionChanged(IAction, ISelection)
|
||||||
*/
|
*/
|
||||||
public void selectionChanged(IAction action, ISelection sel)
|
public void selectionChanged(IAction action, ISelection sel)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue