avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log/output AbstractTarget.java AbstractOutputTarget.java
Date Wed, 05 Feb 2003 08:28:54 GMT
mcconnell    2003/02/05 00:28:54

  Modified:    src/java/org/apache/log/output AbstractTarget.java
                        AbstractOutputTarget.java
  Log:
  Checkstyle corrections and javadoc additions.
  
  Revision  Changes    Path
  1.9       +2 -0      jakarta-avalon-logkit/src/java/org/apache/log/output/AbstractTarget.java
  
  Index: AbstractTarget.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/output/AbstractTarget.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AbstractTarget.java	5 Feb 2003 06:15:35 -0000	1.8
  +++ AbstractTarget.java	5 Feb 2003 08:28:53 -0000	1.9
  @@ -63,6 +63,7 @@
   /**
    * Abstract target.
    *
  + * @author <a href="mailto:avalon-dev@jakarta.apache.org">Avalon Development Team</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    */
   public abstract class AbstractTarget
  @@ -154,6 +155,7 @@
        * This should be overidden by subclasses.
        *
        * @param event the log event
  +     * @exception Exception if an event processing error occurs
        */
       protected abstract void doProcessEvent( LogEvent event )
           throws Exception;
  
  
  
  1.14      +9 -2      jakarta-avalon-logkit/src/java/org/apache/log/output/AbstractOutputTarget.java
  
  Index: AbstractOutputTarget.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/output/AbstractOutputTarget.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- AbstractOutputTarget.java	5 Feb 2003 06:15:35 -0000	1.13
  +++ AbstractOutputTarget.java	5 Feb 2003 08:28:53 -0000	1.14
  @@ -62,6 +62,7 @@
    * Any new output target that is writing to a single connected
    * resource should extend this class directly or indirectly.
    *
  + * @author <a href="mailto:avalon-dev@jakarta.apache.org">Avalon Development Team</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    */
   public abstract class AbstractOutputTarget
  @@ -199,7 +200,10 @@
        */
       private void writeHead()
       {
  -        if( !isOpen() ) return;
  +        if( !isOpen() ) 
  +        {
  +            return;
  +        }
   
           final String head = getHead();
           if( null != head )
  @@ -214,7 +218,10 @@
        */
       private void writeTail()
       {
  -        if( !isOpen() ) return;
  +        if( !isOpen() ) 
  +        {
  +            return;
  +        }
   
           final String tail = getTail();
           if( null != tail )
  
  
  

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


Mime
View raw message