You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/09/11 08:21:27 UTC
svn commit: r1383250 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
Author: pmouawad
Date: Tue Sep 11 06:21:27 2012
New Revision: 1383250
URL: http://svn.apache.org/viewvc?rev=1383250&view=rev
Log:
Remove useless null test
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java?rev=1383250&r1=1383249&r2=1383250&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java Tue Sep 11 06:21:27 2012
@@ -139,9 +139,7 @@ public class AjpSampler extends HTTPSamp
}
}
channel = null;
- if(body != null) {
- JOrphanUtils.closeQuietly(body);
- }
+ JOrphanUtils.closeQuietly(body);
body = null;
stringBody = null;
}