User: user57  
  Date: 02/02/16 03:26:58

  Modified:    src/main/org/jboss/test/cmp2/relationship/manyToManyBidirectional
                        ABTest.java
  Log:
   o System.err, System.out & printStackTrace() 99.9% gone.
  
  Revision  Changes    Path
  1.5       +5 -2      
jbosstest/src/main/org/jboss/test/cmp2/relationship/manyToManyBidirectional/ABTest.java
  
  Index: ABTest.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/cmp2/relationship/manyToManyBidirectional/ABTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ABTest.java       29 Jan 2002 22:00:00 -0000      1.4
  +++ ABTest.java       16 Feb 2002 11:26:58 -0000      1.5
  @@ -10,6 +10,9 @@
   
   public class ABTest extends EJBTestCase {
   
  +       static org.apache.log4j.Category log =
  +       org.apache.log4j.Category.getInstance(ABTest.class);
  +
        public static Test suite() throws Exception {
                return JBossTestCase.getDeploySetup(ABTest.class, 
"cmp2-relationship.jar");
      }
  @@ -24,7 +27,7 @@
   
            return (AHome) jndiContext.lookup("relation/manyToMany/bidirectional/A"); 
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getAHome: " + e.getMessage());
         }
         return null;
  @@ -36,7 +39,7 @@
   
            return (BHome) jndiContext.lookup("relation/manyToMany/bidirectional/B");
         } catch(Exception e) {
  -         e.printStackTrace();
  +         log.debug("failed", e);
            fail("Exception in getBHome: " + e.getMessage());
         }
         return null;
  
  
  

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

Reply via email to