You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/01/17 05:05:23 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/selection RequestAttributeSelector.java SessionAttributeSelector.java

vgritsenko    02/01/16 20:05:23

  Modified:    src/java/org/apache/cocoon/selection
                        RequestAttributeSelector.java
                        SessionAttributeSelector.java
  Log:
  bring code in harmony with javadoc
  
  Revision  Changes    Path
  1.3       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/selection/RequestAttributeSelector.java
  
  Index: RequestAttributeSelector.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/selection/RequestAttributeSelector.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RequestAttributeSelector.java	12 Jan 2002 01:14:34 -0000	1.2
  +++ RequestAttributeSelector.java	17 Jan 2002 04:05:23 -0000	1.3
  @@ -31,7 +31,7 @@
    * @author <a href="mailto:haul@informatik.tu-darmstadt.de">Christian Haul</a>
    * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
    * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  - * @version CVS $Revision: 1.2 $ $Date: 2002/01/12 01:14:34 $
  + * @version CVS $Revision: 1.3 $ $Date: 2002/01/17 04:05:23 $
    */
   public class RequestAttributeSelector extends AbstractLoggable
     implements Configurable, ThreadSafe, Selector {
  @@ -56,6 +56,6 @@
               return false;
           }
   
  -        return value.equals(expression);
  +        return value.toString().equals(expression);
       }
   }
  
  
  
  1.4       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/selection/SessionAttributeSelector.java
  
  Index: SessionAttributeSelector.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/selection/SessionAttributeSelector.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SessionAttributeSelector.java	12 Jan 2002 01:14:34 -0000	1.3
  +++ SessionAttributeSelector.java	17 Jan 2002 04:05:23 -0000	1.4
  @@ -30,7 +30,7 @@
    *
    * @author <a href="mailto:haul@informatik.tu-darmstadt.de">Christian Haul</a>
    * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
  - * @version CVS $Revision: 1.3 $ $Date: 2002/01/12 01:14:34 $
  + * @version CVS $Revision: 1.4 $ $Date: 2002/01/17 04:05:23 $
    */
   public class SessionAttributeSelector extends AbstractLoggable
     implements Configurable, ThreadSafe, Selector {
  @@ -55,6 +55,6 @@
               return false;
           }
   
  -        return value.equals(expression);
  +        return value.toString().equals(expression);
       }
   }
  
  
  

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