commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject cvs commit: jakarta-commons/digester/src/examples/api/addressbook Person.java
Date Mon, 17 Jan 2005 10:26:08 GMT
skitching    2005/01/17 02:26:08

  Modified:    digester/src/examples/api/addressbook Person.java
  Log:
  Make output layout for Address info a little cleaner.
  
  Revision  Changes    Path
  1.7       +4 -2      jakarta-commons/digester/src/examples/api/addressbook/Person.java
  
  Index: Person.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/examples/api/addressbook/Person.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Person.java	17 Jan 2005 09:56:34 -0000	1.6
  +++ Person.java	17 Jan 2005 10:26:08 -0000	1.7
  @@ -66,7 +66,9 @@
             System.out.println("  email (type " + type + ") : " + address);
         }
         
  -      System.out.println( addresses );
  -      
  +      for(Iterator i = addresses.iterator(); i.hasNext(); ) {
  +          Address addr = (Address) i.next();
  +          addr.print(System.out, 2);
  +      }
     }
   }
  
  
  

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


Mime
View raw message