Skip to content

Commit 54c31b0

Browse files
committed
Fix compile error introduced by previous commit
1 parent 3f7325e commit 54c31b0

File tree

1 file changed

+2
-2
lines changed
  • netty/src/main/java/io/grpc/transport/netty

1 file changed

+2
-2
lines changed

netty/src/main/java/io/grpc/transport/netty/Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ public EventLoopGroup create() {
184184
Runtime.getRuntime().availableProcessors() * 2 : nEventLoops;
185185
final ExecutorService executor = Executors.newFixedThreadPool(parallelism, threadFactory);
186186
NioEventLoopGroup nioEventLoopGroup = new NioEventLoopGroup(parallelism, executor);
187-
nioEventLoopGroup.terminationFuture().addListener(new GenericFutureListener<Future<?>>() {
187+
nioEventLoopGroup.terminationFuture().addListener(new GenericFutureListener<Future<Object>>() {
188188
@Override
189-
public void operationComplete(Future<?> future) throws Exception {
189+
public void operationComplete(Future<Object> future) throws Exception {
190190
executor.shutdown();
191191
}
192192
});

0 commit comments

Comments
 (0)