Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/565#discussion_r82269525
  
    --- Diff: 
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
 ---
    @@ -41,7 +41,11 @@
       public void oneBitOneExchangeOneEntryRun() throws Exception{
         RemoteServiceSet serviceSet = RemoteServiceSet.getLocalServiceSet();
     
    -    try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet); DrillClient 
client = new DrillClient(CONFIG, serviceSet.getCoordinator());){
    +    try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet);
    --- End diff --
    
    This pattern show up over and over. Should it just be moved into a function 
rather than as a duplicated "code injection" in a zillion files?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to