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] [Created] (SUREFIRE-1591) Java 1.7 does not require specifying Generics in constructor for variable assignment
Date Sun, 04 Nov 2018 23:00:00 GMT
Tibor Digana created SUREFIRE-1591:
--------------------------------------

             Summary: Java 1.7 does not require specifying Generics in constructor for  variable
assignment
                 Key: SUREFIRE-1591
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1591
             Project: Maven Surefire
          Issue Type: Improvement
            Reporter: Tibor Digana
             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