Remove unneeded checkNotNull() calls
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.remote.core.tests / src / org / eclipse / tracecompass / tmf / remote / core / tests / shell / CommandShellTest.java
index 03b2be25e8bec046d9b6f2193a641afd4499d159..d5e053cbeadb3b6cdcc78497f4b4988462baa25e 100644 (file)
@@ -58,7 +58,7 @@ public class CommandShellTest {
         ICommandShell shell = LOCAL_PROXY.createCommandShell();
 
         ICommandInput command = shell.createCommand();
-        command.addAll(checkNotNull(Arrays.asList(CMD_INPUT_UNIX)));
+        command.addAll(Arrays.asList(CMD_INPUT_UNIX));
         ICommandResult result = shell.executeCommand(command, new NullProgressMonitor());
         assertEquals(0, result.getResult());
     }
@@ -76,7 +76,7 @@ public class CommandShellTest {
         ICommandShell shell = LOCAL_PROXY.createCommandShell();
 
         ICommandInput command = shell.createCommand();
-        command.addAll(checkNotNull(Arrays.asList(CMD_ERROR_INPUT_UNIX)));
+        command.addAll(Arrays.asList(CMD_ERROR_INPUT_UNIX));
         ICommandResult result = shell.executeCommand(command, new NullProgressMonitor());
         assertTrue(result.getResult() > 0);
     }
@@ -95,7 +95,7 @@ public class CommandShellTest {
         ICommandShell shell = LOCAL_PROXY.createCommandShell();
 
         ICommandInput command = shell.createCommand();
-        command.addAll(checkNotNull(Arrays.asList(CMD_UNKNOWN_COMMAND_UNIX)));
+        command.addAll(Arrays.asList(CMD_UNKNOWN_COMMAND_UNIX));
         ICommandResult result = shell.executeCommand(command, new NullProgressMonitor());
         assertTrue(result.getResult() > 0);
     }
This page took 0.034965 seconds and 5 git commands to generate.