minor conventions

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
emmanuel committed 2018-10-27 14:18:32 -04:00
1 parent 2972e82f4a
commit 8c6b1d8884
3 files changed
+4 -3

No files matched your search

@@ -110,7 +110,8 @@ public final class ProcessClear extends Command {
* @see fr.bigeon.gclc.command.Command#usageDetail() */
@Override
protected String usageDetail() {
return " All processes in the pool have their running status checked and the non running ones are removed from the list of tasks.";
return " All processes in the pool have their running status checked and the "
+ "non running ones are removed from the list of tasks.";
}
}
@@ -98,7 +98,7 @@ public final class ProcessKill extends Command {
throw new CommandRunException(CommandRunExceptionType.USAGE,
"A pid should be specified.");
}
pool.get(Integer.valueOf(args[0])).setRunning(false);
pool.get(Integer.parseInt(args[0])).setRunning(false);
}
/* (non-Javadoc)
@@ -19,7 +19,7 @@ import net.bigeon.gclc.utils.PipedConsoleOutput;
public class ForkTaskTest {
@Test
public void test() throws IOException {
public void testGenericForkTask() throws IOException {
final ForkTask task = new ForkTask(5) {
@Override