mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fiux code
This commit is contained in:
parent
220afd4ded
commit
53e8d875b7
@ -37,19 +37,18 @@ import java.util.concurrent.TimeoutException;
|
|||||||
public class DelegatedExecutorService extends AbstractExecutorService implements Wrapper<ExecutorService> {
|
public class DelegatedExecutorService extends AbstractExecutorService implements Wrapper<ExecutorService> {
|
||||||
private final ExecutorService raw;
|
private final ExecutorService raw;
|
||||||
|
|
||||||
@Override
|
|
||||||
public ExecutorService getRaw() {
|
|
||||||
return this.raw;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 构造
|
* 构造
|
||||||
*
|
*
|
||||||
* @param executor {@link ExecutorService}
|
* @param executor {@link ExecutorService}
|
||||||
*/
|
*/
|
||||||
public DelegatedExecutorService(final ExecutorService executor) {
|
public DelegatedExecutorService(final ExecutorService executor) {
|
||||||
Assert.notNull(executor, "executor must be not null !");
|
raw = Assert.notNull(executor, "executor must be not null !");
|
||||||
raw = executor;
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ExecutorService getRaw() {
|
||||||
|
return this.raw;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user