giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1208) Use the diamond operator <>.
Date Tue, 23 Oct 2018 16:50:00 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660954#comment-16660954
] 

Hudson commented on GIRAPH-1208:
--------------------------------

SUCCESS: Integrated in Jenkins build Giraph-trunk-Commit #1763 (See [https://builds.apache.org/job/Giraph-trunk-Commit/1763/])
GIRAPH-1208 (dionysios: [http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=583c8311df06e92afcea0f3c89d085a980e2dd9f])
* (edit) giraph-core/src/main/java/org/apache/giraph/aggregators/matrix/MatrixSumAggregator.java


> Use the diamond operator <>.
> ----------------------------
>
>                 Key: GIRAPH-1208
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1208
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Reudismam Rolim de Sousa
>            Priority: Minor
>
> Since Java 7, programmers can replace type parameters to invoke the constructor of a
generic class with an empty set (<>), diamond operator and allow inference of type parameters
by the context.  The benefit of the diamond operator is clarity since it is more concise.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message