jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1335275 - /jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
Date Mon, 07 May 2012 21:43:12 GMT
Author: pmouawad
Date: Mon May  7 21:43:12 2012
New Revision: 1335275

URL: http://svn.apache.org/viewvc?rev=1335275&view=rev
Log:
Bug 53136 - Catching Throwable needs to be carefully handled

Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java

Modified: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java?rev=1335275&r1=1335274&r2=1335275&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
(original)
+++ jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
Mon May  7 21:43:12 2012
@@ -58,10 +58,7 @@ class StreamGobbler extends Thread {
 		}
 		finally
 		{
-			if(br != null)
-			{
-			    JOrphanUtils.closeQuietly(br);
-			}
+		    JOrphanUtils.closeQuietly(br);
 		}
 	}
 	



Mime
View raw message