cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/acting SessionValidatorAction.java
Date Tue, 14 Aug 2001 14:48:59 GMT
dims        01/08/14 07:48:59

  Modified:    src/org/apache/cocoon/acting Tag: cocoon_20_branch
                        SessionValidatorAction.java
  Log:
  Patch from "Peter Nuetzel - inglobo" <peter.nuetzel@inglobo.de>
  for Null checks in SessionValidatorAction.java
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.4   +4 -4      xml-cocoon2/src/org/apache/cocoon/acting/SessionValidatorAction.java
  
  Index: SessionValidatorAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/SessionValidatorAction.java,v
  retrieving revision 1.3.2.3
  retrieving revision 1.3.2.4
  diff -u -r1.3.2.3 -r1.3.2.4
  --- SessionValidatorAction.java	2001/07/20 13:35:49	1.3.2.3
  +++ SessionValidatorAction.java	2001/08/14 14:48:59	1.3.2.4
  @@ -1,4 +1,4 @@
  -// $Id: SessionValidatorAction.java,v 1.3.2.3 2001/07/20 13:35:49 cziegeler Exp $
  +// $Id: SessionValidatorAction.java,v 1.3.2.4 2001/08/14 14:48:59 dims Exp $
   package org.apache.cocoon.acting;
   
   import java.util.Collections;
  @@ -53,7 +53,7 @@
    * all validated parameters to the sitemap via {name} expression.
    *
    * @author Martin Man &lt;Martin.Man@seznam.cz&gt;
  - * @version CVS $Revision: 1.3.2.3 $ $Date: 2001/07/20 13:35:49 $
  + * @version CVS $Revision: 1.3.2.4 $ $Date: 2001/08/14 14:48:59 $
    */
   public class SessionValidatorAction extends AbstractValidatorAction
   {
  @@ -96,7 +96,7 @@
               /*
                * old obsoleted method
                */
  -            if (!"".equals (valstr.trim ())) {
  +            if (valstr != null && !"".equals (valstr.trim ())) {
                   getLogger ().debug ("SESSIONVALIDATOR: validating parameters "
                           + "as specified via 'validate' parameter");
                   /* get list of params to be validated */
  @@ -198,5 +198,5 @@
       }
   }
   
  -// $Id: SessionValidatorAction.java,v 1.3.2.3 2001/07/20 13:35:49 cziegeler Exp $
  +// $Id: SessionValidatorAction.java,v 1.3.2.4 2001/08/14 14:48:59 dims Exp $
   // vim: set et ts=4 sw=4:
  
  
  

----------------------------------------------------------------------
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