drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill pull request #857: DRILL-5599: Notify StatusHandler that batch sending...
Date Wed, 21 Jun 2017 01:28:06 GMT
Github user paul-rogers commented on a diff in the pull request:

    --- 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message