You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2018/11/11 21:44:00 UTC
[jira] [Updated] (SUREFIRE-1591) Java 1.7 feature Diamonds replaced
Generics
[ 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)