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

    https://github.com/apache/drill/pull/857#discussion_r123135163
  
    --- Diff: 
exec/rpc/src/main/java/org/apache/drill/exec/rpc/RequestIdMap.java ---
    @@ -47,7 +47,7 @@
       private final IntObjectHashMap<RpcOutcome<?>> map;
     
       public RequestIdMap() {
    -    map = new IntObjectHashMap<RpcOutcome<?>>();
    +    map = new IntObjectHashMap<>();
       }
    --- End diff --
    
    This is code cleanup. Java can infer the type of the parameterized class 
without us telling it. Seems a similar cleanup was made a few lines below.


---
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