giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dionysios Logothetis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GIRAPH-1208) Use the diamond operator <>.
Date Wed, 24 Oct 2018 21:21:00 GMT

     [ https://issues.apache.org/jira/browse/GIRAPH-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dionysios Logothetis resolved GIRAPH-1208.
------------------------------------------
    Resolution: Fixed

> 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