commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r507325 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java
Date Wed, 14 Feb 2007 00:12:44 GMT
Author: sebb
Date: Tue Feb 13 16:12:43 2007
New Revision: 507325

URL: http://svn.apache.org/viewvc?view=rev&rev=507325
Log:
Remove redundant null check

Modified:
    jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java?view=diff&rev=507325&r1=507324&r2=507325
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpClient.java
Tue Feb 13 16:12:43 2007
@@ -153,9 +153,7 @@
         }
         this.params = params; 
         this.httpConnectionManager = httpConnectionManager;
-        if (this.httpConnectionManager != null) {
-            this.httpConnectionManager.getParams().setDefaults(this.params);
-        }
+        this.httpConnectionManager.getParams().setDefaults(this.params);
     }
     
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message