hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1545004 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHttpResponse.java
Date Sun, 24 Nov 2013 15:50:53 GMT
Author: sebb
Date: Sun Nov 24 15:50:52 2013
New Revision: 1545004

URL: http://svn.apache.org/r1545004
Log:
Inline variable and avoid hiding field of same name

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

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHttpResponse.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHttpResponse.java?rev=1545004&r1=1545003&r2=1545004&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHttpResponse.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/message/BasicHttpResponse.java
Sun Nov 24 15:50:52 2013
@@ -212,8 +212,7 @@ public class BasicHttpResponse extends A
 
     @Override
     public String toString() {
-        final StatusLine statusline = getStatusLine();
-        return statusline + " " + this.headergroup;
+        return getStatusLine() + " " + this.headergroup;
     }
 
 }



Mime
View raw message