fix(GracefulShutdownContext): remove non-null requirement
This commit is contained in:
parent
c1b1f9b74d
commit
f42037eefd
1 changed files with 0 additions and 3 deletions
|
|
@ -28,9 +28,6 @@ class GracefulShutdownContext {
|
|||
this.shutdownCompleteLatch = shutdownCompleteLatch;
|
||||
this.notificationCompleteLatch = notificationCompleteLatch;
|
||||
this.worker = worker;
|
||||
Objects.requireNonNull(shutdownCompleteLatch);
|
||||
Objects.requireNonNull(notificationCompleteLatch);
|
||||
Objects.requireNonNull(worker);
|
||||
}
|
||||
|
||||
boolean isShutdownAlreadyCompleted() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue