User: user57
Date: 02/02/16 03:27:01
Modified: src/main/org/jboss/test/jbossmx/implementation/util
AgentIDTestCase.java MBeanProxyTestCase.java
Log:
o System.err, System.out & printStackTrace() 99.9% gone.
Revision Changes Path
1.2 +1 -1
jbosstest/src/main/org/jboss/test/jbossmx/implementation/util/AgentIDTestCase.java
Index: AgentIDTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jbossmx/implementation/util/AgentIDTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AgentIDTestCase.java 2 Feb 2002 03:16:24 -0000 1.1
+++ AgentIDTestCase.java 16 Feb 2002 11:27:01 -0000 1.2
@@ -46,7 +46,7 @@
}
catch (Throwable t)
{
- t.printStackTrace();
+ log.debug("failed", t);
fail("Unexpected error: " + t.toString());
}
}
1.2 +2 -2
jbosstest/src/main/org/jboss/test/jbossmx/implementation/util/MBeanProxyTestCase.java
Index: MBeanProxyTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jbossmx/implementation/util/MBeanProxyTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MBeanProxyTestCase.java 2 Feb 2002 03:16:24 -0000 1.1
+++ MBeanProxyTestCase.java 16 Feb 2002 11:27:01 -0000 1.2
@@ -42,7 +42,7 @@
}
catch (Throwable t)
{
- t.printStackTrace();
+ log.debug("failed", t);
fail("unexpected error: " + t.toString());
}
}
@@ -66,7 +66,7 @@
}
catch (Throwable t)
{
- t.printStackTrace();
+ log.debug("failed", t);
fail("unexpected error: " + t.toString());
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development