[style] Set abstract class constructor as protected
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
parent
66d25697a8
commit
0c1cfe3946
@ -100,7 +100,7 @@ public abstract class ForkTask implements Task {
|
||||
/** Create the task.
|
||||
*
|
||||
* @param lines the number of print to store in the output */
|
||||
public ForkTask(final int lines) {
|
||||
protected ForkTask(final int lines) {
|
||||
out = new ConnectingConsoleOutput(ConnectingConsoleOutput.PERSIST, lines);
|
||||
}
|
||||
|
||||
|
@ -84,8 +84,8 @@ public abstract class TaskSpawner extends Command {
|
||||
private final ExecutorService threadPool;
|
||||
|
||||
/** @param name the command name
|
||||
* @param pool the pool */
|
||||
public TaskSpawner(final String name, final TaskPool pool,
|
||||
* @param threadPool the pool */
|
||||
protected TaskSpawner(final String name, final TaskPool pool,
|
||||
final ExecutorService threadPool) {
|
||||
super(name);
|
||||
this.pool = pool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user