maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SUREFIRE-1591) Java 1.7 feature Diamonds replaced Generics
Date Sun, 11 Nov 2018 21:44:00 GMT

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

Tibor Digana updated SUREFIRE-1591:
-----------------------------------
    Summary: Java 1.7 feature Diamonds replaced Generics  (was: Java 1.7 does not require
specifying Generics in constructor for  variable assignment)

> Java 1.7 feature Diamonds replaced Generics
> -------------------------------------------
>
>                 Key: SUREFIRE-1591
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1591
>             Project: Maven Surefire
>          Issue Type: Improvement
>            Reporter: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.0-M2
>
>
> {code:java}
> Map<String, List<TestMethodStats>> mergedTestHistoryResult = new HashMap<String,
List<TestMethodStats>>();
> {code}
> turns to in Java 1.7:
> {code:java}
> Map<String, List<TestMethodStats>> mergedTestHistoryResult = new HashMap<>();
> {code}



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

Mime
View raw message