User: user57  
  Date: 02/02/16 03:27:01

  Modified:    src/main/org/jboss/test/jbossmx/compliance/modelmbean
                        ModelMBeanTestCase.java
  Log:
   o System.err, System.out & printStackTrace() 99.9% gone.
  
  Revision  Changes    Path
  1.2       +4 -4      
jbosstest/src/main/org/jboss/test/jbossmx/compliance/modelmbean/ModelMBeanTestCase.java
  
  Index: ModelMBeanTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/jbossmx/compliance/modelmbean/ModelMBeanTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ModelMBeanTestCase.java   2 Feb 2002 03:16:21 -0000       1.1
  +++ ModelMBeanTestCase.java   16 Feb 2002 11:27:01 -0000      1.2
  @@ -29,7 +29,7 @@
         }
         catch (Throwable t)
         {
  -         t.printStackTrace();
  +         log.debug("failed", t);
            fail("Creating Required ModelMBean instance with default constructor 
failed: " + t.toString());
         }
      }
  @@ -44,7 +44,7 @@
         }
         catch (Throwable t)
         {
  -         t.printStackTrace();
  +         log.debug("failed", t);
            fail("Setting resource object with 'ObjectReference' type failed: " + 
t.toString());
         }
      }
  @@ -58,7 +58,7 @@
         }
         catch (Throwable t)
         {
  -         t.printStackTrace();
  +         log.debug("failed", t);
            fail("Unable to set model mbean info for resource object: " + 
t.toString());
         }
   
  @@ -82,7 +82,7 @@
         }
         catch (Throwable t) 
         {
  -         t.printStackTrace();
  +         log.debug("failed", t);
            fail("RMMInvocation: " + t.toString());
         }
      }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to