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
0b88e8bbc4
commit
d7e14649c7
1 changed files with 11 additions and 22 deletions
|
@ -484,8 +484,7 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
||||||
* Get the default running command shell for this command subsystem. If no
|
* Get the default running command shell for this command subsystem. If no
|
||||||
* such shell exists or is running, a new one is launched.
|
* such shell exists or is running, a new one is launched.
|
||||||
*
|
*
|
||||||
* @param shell,
|
* @param shell the window used for notification
|
||||||
* the window used for notification
|
|
||||||
* @return the default running command shell
|
* @return the default running command shell
|
||||||
*/
|
*/
|
||||||
public IRemoteCommandShell getDefaultShell(Shell shell) throws Exception
|
public IRemoteCommandShell getDefaultShell(Shell shell) throws Exception
|
||||||
|
@ -886,13 +885,10 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
||||||
* Execute a remote command. This is only applicable if the subsystem
|
* Execute a remote command. This is only applicable if the subsystem
|
||||||
* factory reports true for supportsCommands().
|
* factory reports true for supportsCommands().
|
||||||
*
|
*
|
||||||
* @param command
|
* @param command Command to be executed remotely.
|
||||||
* Command to be executed remotely.
|
* @param shell parent shell used to show error message. Null means you will
|
||||||
* @param Shell
|
|
||||||
* parent shell used to show error message. Null means you will
|
|
||||||
* handle showing the error message.
|
* handle showing the error message.
|
||||||
* @param Object
|
* @param context context of a command (i.e. working directory). <code>null</code> is
|
||||||
* context context of a command (i.e. working directory). Null is
|
|
||||||
* valid and means to use the default context.
|
* valid and means to use the default context.
|
||||||
* @return Array of objects that are the result of running this command.
|
* @return Array of objects that are the result of running this command.
|
||||||
* Typically, these are messages logged by the command.
|
* Typically, these are messages logged by the command.
|
||||||
|
@ -905,13 +901,10 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
||||||
/**
|
/**
|
||||||
* Send a command as input to a running command shell.
|
* Send a command as input to a running command shell.
|
||||||
*
|
*
|
||||||
* @param String
|
* @param input the command to invoke in the shell.
|
||||||
* input the command to invoke in the shell.
|
* @param shell parent shell used to show error message. Null means you will
|
||||||
* @param Shell
|
|
||||||
* parent shell used to show error message. Null means you will
|
|
||||||
* handle showing the error message.
|
* handle showing the error message.
|
||||||
* @param Object
|
* @param commandObject the shell or command to send the invocation to.
|
||||||
* commandObject the shell or command to send the invocation to.
|
|
||||||
*/
|
*/
|
||||||
public void sendCommandToShell(String input, Shell shell, Object commandObject) throws Exception
|
public void sendCommandToShell(String input, Shell shell, Object commandObject) throws Exception
|
||||||
{
|
{
|
||||||
|
@ -948,11 +941,9 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
||||||
/**
|
/**
|
||||||
* Cancel a shell or running command.
|
* Cancel a shell or running command.
|
||||||
*
|
*
|
||||||
* @param Shell
|
* @param shell parent shell used to show error message. Null means you will
|
||||||
* parent shell used to show error message. Null means you will
|
|
||||||
* handle showing the error message.
|
* handle showing the error message.
|
||||||
* @param Object
|
* @param commandObject the shell or command to cancel.
|
||||||
* commandObject the shell or command to cancel.
|
|
||||||
*/
|
*/
|
||||||
public void cancelShell(Shell shell, Object commandObject) throws Exception
|
public void cancelShell(Shell shell, Object commandObject) throws Exception
|
||||||
{
|
{
|
||||||
|
@ -990,11 +981,9 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
||||||
/**
|
/**
|
||||||
* Remove and Cancel a shell or running command.
|
* Remove and Cancel a shell or running command.
|
||||||
*
|
*
|
||||||
* @param Shell
|
* @param shell parent shell used to show error message. Null means you will
|
||||||
* parent shell used to show error message. Null means you will
|
|
||||||
* handle showing the error message.
|
* handle showing the error message.
|
||||||
* @param Object
|
* @param commandObject the shell or command to cancel.
|
||||||
* commandObject the shell or command to cancel.
|
|
||||||
*/
|
*/
|
||||||
public void removeShell(Shell shell, Object commandObject) throws Exception
|
public void removeShell(Shell shell, Object commandObject) throws Exception
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue