minor conventions

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2018-10-27 14:17:31 -04:00
parent 2972e82f4a
commit 8c6b1d8884
3 changed files with 4 additions and 3 deletions

View File

@ -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.";
}
}

View File

@ -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)

View File

@ -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