SF.net SVN: htmlunit: [1232] trunk/htmlunit/src/java/com/gargoylesoftware/ htmlunit/ThreadManager.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SF.net SVN: htmlunit: [1232] trunk/htmlunit/src/java/com/gargoylesoftware/ htmlunit/ThreadManager.java

mguillem
Revision: 1232
          http://svn.sourceforge.net/htmlunit/?rev=1232&view=rev
Author:   mguillem
Date:     2006-09-08 09:09:09 -0700 (Fri, 08 Sep 2006)

Log Message:
-----------
improved toString() to facilitate debug

Modified Paths:
--------------
    trunk/htmlunit/src/java/com/gargoylesoftware/htmlunit/ThreadManager.java

Modified: trunk/htmlunit/src/java/com/gargoylesoftware/htmlunit/ThreadManager.java
===================================================================
--- trunk/htmlunit/src/java/com/gargoylesoftware/htmlunit/ThreadManager.java 2006-09-08 16:07:19 UTC (rev 1231)
+++ trunk/htmlunit/src/java/com/gargoylesoftware/htmlunit/ThreadManager.java 2006-09-08 16:09:09 UTC (rev 1232)
@@ -181,4 +181,12 @@
             stopThread(((Integer) iter.next()).intValue());
         }
     }
+
+    /**
+     * Gives a basic representation for debug purposes.
+     * @see java.lang.Object#toString()
+     */
+    public String toString() {
+        return "ThreadManager: " + threadMap_;
+    }
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop