[ https://issues.apache.org/jira/browse/TINKERPOP-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056688#comment-16056688 ]
ASF GitHub Bot commented on TINKERPOP-999: ------------------------------------------ Github user spmallette commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/638#discussion_r123125481 --- Diff: gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/GremlinServer.java --- @@ -108,54 +108,24 @@ public GremlinServer(final Settings settings) { workerGroup = new NioEventLoopGroup(settings.threadPoolWorker, threadFactoryWorker); } - serverGremlinExecutor = new ServerGremlinExecutor<>(settings, null, workerGroup, EventLoopGroup.class); + serverGremlinExecutor = new ServerGremlinExecutor(settings, null, workerGroup, null); --- End diff -- i think you're right. I sorta wonder if the second parameter is of value. Gremlin Server is the only thing that really creates that ExecutorService. > ServerGremlinExecutor construction need not use generics for ExecutorService > ---------------------------------------------------------------------------- > > Key: TINKERPOP-999 > URL: https://issues.apache.org/jira/browse/TINKERPOP-999 > Project: TinkerPop > Issue Type: Improvement > Components: server > Affects Versions: 3.1.0-incubating > Reporter: stephen mallette > Assignee: stephen mallette > Priority: Minor > Labels: breaking > Fix For: 3.3.0 > > > See TINKERPOP3-912 for more information but the {{ServerGremlinExecutor}} > will always need be bound to Netty so there's not much need for use of > generics in the class definition. Remove unecessary constructors and perhaps > scope them internal as this class will not be publicly constructed. This > will be a breaking change. -- This message was sent by Atlassian JIRA (v6.4.14#64029)