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)

Reply via email to