ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners AbstractProjectListener.java ClassicProjectListener.java DefaultProjectListener.java
Date Sat, 22 Dec 2001 12:35:24 GMT
donaldp     01/12/22 04:35:24

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/listeners
                        AbstractProjectListener.java
                        ClassicProjectListener.java
                        DefaultProjectListener.java
  Log:
  Restyled.
  
  Revision  Changes    Path
  1.2       +0 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/AbstractProjectListener.java
  
  Index: AbstractProjectListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/AbstractProjectListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractProjectListener.java	2001/12/16 05:19:35	1.1
  +++ AbstractProjectListener.java	2001/12/22 12:35:24	1.2
  @@ -7,8 +7,6 @@
    */
   package org.apache.myrmidon.listeners;
   
  -import org.apache.avalon.framework.ExceptionUtil;
  -
   /**
    * Abstract listener from which to extend.
    *
  
  
  
  1.2       +5 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/ClassicProjectListener.java
  
  Index: ClassicProjectListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/ClassicProjectListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ClassicProjectListener.java	2001/12/16 05:26:16	1.1
  +++ ClassicProjectListener.java	2001/12/22 12:35:24	1.2
  @@ -17,7 +17,7 @@
   public class ClassicProjectListener
       extends AbstractProjectListener
   {
  -    private String        m_prefix;
  +    private String m_prefix;
   
       /**
        * Notify listener of targetStarted event.
  @@ -76,8 +76,10 @@
        */
       protected void output( final String data )
       {
  -        if( null != getPrefix() ) System.out.println( "\t[" + getPrefix() + "] " + data
);
  -        else System.out.println( data );
  +        if( null != getPrefix() )
  +            System.out.println( "\t[" + getPrefix() + "] " + data );
  +        else
  +            System.out.println( data );
       }
   
       protected final String getPrefix()
  
  
  
  1.6       +6 -4      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/DefaultProjectListener.java
  
  Index: DefaultProjectListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/listeners/DefaultProjectListener.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultProjectListener.java	2001/12/19 10:37:41	1.5
  +++ DefaultProjectListener.java	2001/12/22 12:35:24	1.6
  @@ -17,8 +17,8 @@
   public class DefaultProjectListener
       extends AbstractProjectListener
   {
  -    private String        m_prefix;
  -    private String        m_targetName;
  +    private String m_prefix;
  +    private String m_targetName;
   
       /**
        * Notify listener of targetStarted event.
  @@ -83,8 +83,10 @@
               m_targetName = null;
           }
   
  -        if( null != getPrefix() ) System.out.println( "\t[" + getPrefix() + "] " + data
);
  -        else System.out.println( data );
  +        if( null != getPrefix() )
  +            System.out.println( "\t[" + getPrefix() + "] " + data );
  +        else
  +            System.out.println( data );
       }
   
       protected final String getPrefix()
  
  
  

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


Mime
View raw message