cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/acting ResourceExistsAction.java SendmailAction.java SessionInvalidatorAction.java SessionIsValidAction.java
Date Fri, 28 Dec 2001 18:55:21 GMT
bloritsch    01/12/28 10:55:21

  Modified:    src/org/apache/cocoon/acting ResourceExistsAction.java
                        SendmailAction.java SessionInvalidatorAction.java
                        SessionIsValidAction.java
  Log:
  remove unnecessary object creation
  
  Revision  Changes    Path
  1.14      +1 -1      xml-cocoon2/src/org/apache/cocoon/acting/ResourceExistsAction.java
  
  Index: ResourceExistsAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/ResourceExistsAction.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ResourceExistsAction.java	2001/12/28 18:54:35	1.13
  +++ ResourceExistsAction.java	2001/12/28 18:55:21	1.14
  @@ -23,7 +23,7 @@
    * null otherwise. It has only been tested with context urls.
    *
    * @author <a href="mailto:balld@apache.org">Donald Ball</a>
  - * @version CVS $Revision: 1.13 $ $Date: 2001/12/28 18:54:35 $
  + * @version CVS $Revision: 1.14 $ $Date: 2001/12/28 18:55:21 $
    */
   public class ResourceExistsAction extends ComposerAction implements ThreadSafe {
   
  @@ -39,7 +39,7 @@
           } finally {
               if (src != null) src.recycle();
           }
  -        return Collections.EMPTY_MAP;
  +        return EMPTY_MAP;
       }
   
   }
  
  
  
  1.14      +2 -2      xml-cocoon2/src/org/apache/cocoon/acting/SendmailAction.java
  
  Index: SendmailAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/SendmailAction.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SendmailAction.java	2001/12/28 18:54:35	1.13
  +++ SendmailAction.java	2001/12/28 18:55:21	1.14
  @@ -110,10 +110,10 @@
         message.setSentDate(new Date());
         Transport.send(message);
         getLogger().debug("SendmailAction: act stop");
  -      return Collections.EMPTY_MAP;
  +      return EMPTY_MAP;
       } catch (SendmailActionException e) {
         getLogger().error("SendmailAction: "+e.getMessage());
  -      return Collections.EMPTY_MAP;
  +      return EMPTY_MAP;
       }
     }
   
  
  
  
  1.9       +1 -1      xml-cocoon2/src/org/apache/cocoon/acting/SessionInvalidatorAction.java
  
  Index: SessionInvalidatorAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/SessionInvalidatorAction.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SessionInvalidatorAction.java	2001/12/28 18:54:35	1.8
  +++ SessionInvalidatorAction.java	2001/12/28 18:55:21	1.9
  @@ -1,4 +1,4 @@
  -// $Id: SessionInvalidatorAction.java,v 1.8 2001/12/28 18:54:35 bloritsch Exp $
  +// $Id: SessionInvalidatorAction.java,v 1.9 2001/12/28 18:55:21 bloritsch Exp $
   package org.apache.cocoon.acting;
   
   import org.apache.avalon.framework.parameters.Parameters;
  @@ -18,7 +18,7 @@
    * empty map if everything is ok, null otherwise.
    *
    * @author Martin Man &lt;Martin.Man@seznam.cz&gt;
  - * @version CVS $Revision: 1.8 $ $Date: 2001/12/28 18:54:35 $
  + * @version CVS $Revision: 1.9 $ $Date: 2001/12/28 18:55:21 $
    */
   public class SessionInvalidatorAction extends AbstractAction implements ThreadSafe
   {
  @@ -45,9 +45,9 @@
               getLogger ().debug ("SESSIONINVALIDATOR: no session object");
           }
   
  -        return Collections.EMPTY_MAP; // cut down on object creation
  +        return EMPTY_MAP; // cut down on object creation
       }
   }
   
  -// $Id: SessionInvalidatorAction.java,v 1.8 2001/12/28 18:54:35 bloritsch Exp $
  +// $Id: SessionInvalidatorAction.java,v 1.9 2001/12/28 18:55:21 bloritsch Exp $
   // vim: set et ts=4 sw=4:
  
  
  
  1.7       +1 -1      xml-cocoon2/src/org/apache/cocoon/acting/SessionIsValidAction.java
  
  Index: SessionIsValidAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/SessionIsValidAction.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SessionIsValidAction.java	2001/12/28 18:54:35	1.6
  +++ SessionIsValidAction.java	2001/12/28 18:55:21	1.7
  @@ -24,7 +24,7 @@
    * seesion is still valid.
    *
    * @author <a href="mailto:haul@informatik.tu-darmstadt.de">Christian Haul</a>
  - * @version CVS $Revision: 1.6 $ $Date: 2001/12/28 18:54:35 $
  + * @version CVS $Revision: 1.7 $ $Date: 2001/12/28 18:55:21 $
    */
   
   public class SessionIsValidAction extends AbstractValidatorAction implements ThreadSafe
  @@ -53,7 +53,7 @@
               return null;
           }
   
  -    return Collections.EMPTY_MAP;
  +    return EMPTY_MAP;
   
       }
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message