You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2003/06/28 12:53:48 UTC

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt CustomerBean.java

rdonkin     2003/06/28 03:53:48

  Modified:    betwixt/src/test/org/apache/commons/betwixt
                        CustomerBean.java
  Log:
  Replaced call to System.out with call to log
  
  Revision  Changes    Path
  1.8       +3 -1      jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/CustomerBean.java
  
  Index: CustomerBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/CustomerBean.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- CustomerBean.java	30 Dec 2002 17:33:48 -0000	1.7
  +++ CustomerBean.java	28 Jun 2003 10:53:48 -0000	1.8
  @@ -190,7 +190,9 @@
       }
   
       public void addNumber(int number) {
  -        System.out.println( "Adding number: " + number );
  +        if ( log.isDebugEnabled() ) {
  +            log.debug( "Adding number: " + number );
  +        }
           
           int newLength = (numbers == null) ? 1 : numbers.length+1;
           int[] newArray = new int[newLength];
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org