You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2023/03/08 13:21:01 UTC

[GitHub] [accumulo] dlmarion commented on a diff in pull request #3229: Remove some deprecated items

dlmarion commented on code in PR #3229:
URL: https://github.com/apache/accumulo/pull/3229#discussion_r1129408816


##########
core/src/main/java/org/apache/accumulo/core/spi/scan/ScanDispatcher.java:
##########
@@ -115,13 +90,7 @@ public interface DispatchParameters {
    *
    * @since 2.1.0
    */
-
   default ScanDispatch dispatch(DispatchParameters params) {
-    String executor = dispatch((DispatchParmaters) params);
-    if (executor.equals(DefaultScanDispatch.DEFAULT_SCAN_DISPATCH.getExecutorName())) {
-      return DefaultScanDispatch.DEFAULT_SCAN_DISPATCH;
-    }
-
-    return ScanDispatch.builder().setExecutorName(executor).build();
+    return DefaultScanDispatch.DEFAULT_SCAN_DISPATCH;

Review Comment:
   I think we need @keith-turner to look at this. But, from what I can tell, this looks ok.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org