avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/extension/src/java/org/apache/avalon/excalibur/packagemanager OptionalPackage.java
Date Mon, 07 Oct 2002 09:26:49 GMT
donaldp     2002/10/07 02:26:48

  Modified:    extension/src/java/org/apache/avalon/excalibur/packagemanager
                        OptionalPackage.java
  Log:
  Make prettier output via toString
  
  Revision  Changes    Path
  1.4       +10 -4     jakarta-avalon-excalibur/extension/src/java/org/apache/avalon/excalibur/packagemanager/OptionalPackage.java
  
  Index: OptionalPackage.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/extension/src/java/org/apache/avalon/excalibur/packagemanager/OptionalPackage.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- OptionalPackage.java	7 Oct 2002 06:36:53 -0000	1.3
  +++ OptionalPackage.java	7 Oct 2002 09:26:48 -0000	1.4
  @@ -139,15 +139,21 @@
           sb.append( ", Available[" );
           for( int i = 0; i < m_available.length; i++ )
           {
  -            sb.append( m_available );
  -            sb.append( " " );
  +            if( 0 != i )
  +            {
  +                sb.append( " " );
  +            }
  +            sb.append( m_available[ i ].getExtensionName() );
           }
   
           sb.append( "], Required[" );
           for( int i = 0; i < m_required.length; i++ )
           {
  -            sb.append( m_required );
  -            sb.append( " " );
  +            if( 0 != i )
  +            {
  +                sb.append( " " );
  +            }
  +            sb.append( m_required[ i ].getExtensionName() );
           }
   
           sb.append( "] ]" );
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message