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/04/30 23:20:16 UTC

svn commit: r1332399 - /jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java

Author: pmouawad
Date: Mon Apr 30 21:20:15 2012
New Revision: 1332399

URL: http://svn.apache.org/viewvc?rev=1332399&view=rev
Log:
Added reference to javaworld article that inspired StreamGobbler and javadocs

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=1332399&r1=1332398&r2=1332399&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 Apr 30 21:20:15 2012
@@ -25,6 +25,8 @@ import java.io.InputStreamReader;
 
 /**
  * Thread that eats Output and Error Stream to avoid Deadlock on Windows Machines
+ * Inspired from:
+ * http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
  */
 class StreamGobbler extends Thread {
 	private final InputStream is;
@@ -66,7 +68,7 @@ class StreamGobbler extends Thread {
 	}
 	
 	/**
-	 * @return
+	 * @return Output
 	 */
 	public String getResult()
 	{