hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1698018 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
Date Wed, 26 Aug 2015 22:06:52 GMT
Author: ggregory
Date: Wed Aug 26 22:06:52 2015
New Revision: 1698018

URL: http://svn.apache.org/r1698018
Log:
Redundant specification of type arguments <Header>.

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java?rev=1698018&r1=1698017&r2=1698018&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
Wed Aug 26 22:06:52 2015
@@ -185,7 +185,7 @@ public class HeaderGroup implements Seri
             final Header header = this.headers.get(i);
             if (header.getName().equalsIgnoreCase(name)) {
                 if (headersFound == null) {
-                    headersFound = new ArrayList<Header>();
+                    headersFound = new ArrayList<>();
                 }
                 headersFound.add(header);
             }



Mime
View raw message