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/04 23:00:00 UTC

[jira] [Created] (SUREFIRE-1591) Java 1.7 does not require specifying Generics in constructor for variable assignment

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)