User: user57
Date: 02/02/14 22:15:52
Modified: src/main/org/jboss/test/deadlock/test
BeanStressTestCase.java
Log:
o replaced most System.out usage with Log4j. should really introduce
some base classes to make this mess more maintainable...
Revision Changes Path
1.3 +5 -3
jbosstest/src/main/org/jboss/test/deadlock/test/BeanStressTestCase.java
Index: BeanStressTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/deadlock/test/BeanStressTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BeanStressTestCase.java 29 Jan 2002 22:00:01 -0000 1.2
+++ BeanStressTestCase.java 15 Feb 2002 06:15:52 -0000 1.3
@@ -39,11 +39,13 @@
* Sample client for the jboss container.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Bill Burke</a>
-* @version $Id: BeanStressTestCase.java,v 1.2 2002/01/29 22:00:01 d_jencks Exp $
+* @version $Id: BeanStressTestCase.java,v 1.3 2002/02/15 06:15:52 user57 Exp $
*/
public class BeanStressTestCase
extends JBossTestCase
{
+ org.apache.log4j.Category log = getLog();
+
static boolean deployed = false;
static int test = 0;
static Date startDate = new Date();
@@ -85,7 +87,7 @@
private void runAB()
{
- System.out.println("running AB");
+ log.debug("running AB");
try
{
while (true)
@@ -106,7 +108,7 @@
}
private void runBA()
{
- System.out.println("running BA");
+ log.debug("running BA");
try
{
while (true)
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development