[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.
|
/** Create the task.
|
||||||
*
|
*
|
||||||
* @param lines the number of print to store in the output */
|
* @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);
|
out = new ConnectingConsoleOutput(ConnectingConsoleOutput.PERSIST, lines);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,8 +84,8 @@ public abstract class TaskSpawner extends Command {
|
|||||||
private final ExecutorService threadPool;
|
private final ExecutorService threadPool;
|
||||||
|
|
||||||
/** @param name the command name
|
/** @param name the command name
|
||||||
* @param pool the pool */
|
* @param threadPool the pool */
|
||||||
public TaskSpawner(final String name, final TaskPool pool,
|
protected TaskSpawner(final String name, final TaskPool pool,
|
||||||
final ExecutorService threadPool) {
|
final ExecutorService threadPool) {
|
||||||
super(name);
|
super(name);
|
||||||
this.pool = pool;
|
this.pool = pool;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user