diff --git a/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightServer.java b/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightServer.java index dfa308be8c4ff..9c81c0c6c179e 100644 --- a/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightServer.java +++ b/java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightServer.java @@ -16,7 +16,6 @@ */ package org.apache.arrow.flight; -import com.google.common.util.concurrent.ThreadFactoryBuilder; import io.grpc.Server; import io.grpc.ServerInterceptors; import io.grpc.netty.GrpcSslContexts; @@ -313,8 +312,8 @@ public FlightServer build() { } else { exec = Executors.newThreadPerTaskExecutor(Thread.ofVirtual() - .name("flight-server-default-executor-", 0) - .factory()); + .name("flight-server-default-executor-", 0) + .factory()); grpcExecutor = exec; }