You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@locus.apache.org on 2000/11/05 11:11:08 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon/matching WildcardURIMatcherFactory.java

giacomo     00/11/05 02:11:08

  Modified:    src/org/apache/cocoon/matching Tag: xml-cocoon2
                        WildcardURIMatcherFactory.java
  Log:
  Corrected the reference to helpers.WildcardUriMatcher
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.19  +2 -2      xml-cocoon/src/org/apache/cocoon/matching/Attic/WildcardURIMatcherFactory.java
  
  Index: WildcardURIMatcherFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/matching/Attic/WildcardURIMatcherFactory.java,v
  retrieving revision 1.1.2.18
  retrieving revision 1.1.2.19
  diff -u -r1.1.2.18 -r1.1.2.19
  --- WildcardURIMatcherFactory.java	2000/10/30 23:02:44	1.1.2.18
  +++ WildcardURIMatcherFactory.java	2000/11/05 10:11:07	1.1.2.19
  @@ -19,7 +19,7 @@
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a> 
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.18 $ $Date: 2000/10/30 23:02:44 $ 
  + * @version CVS $Revision: 1.1.2.19 $ $Date: 2000/11/05 10:11:07 $ 
    */ 
   
   public class WildcardURIMatcherFactory implements MatcherFactory {
  @@ -51,7 +51,7 @@
        */
       public String generateMethodSource (NodeIterator conf)
       throws ConfigurationException {
  -        return "          ArrayList list = new ArrayList();\n   if (WildcardURIMatcher.match (list, ((HttpServletRequest) objectModel.get(Cocoon.REQUEST_OBJECT))\n					.getRequestURI(), pattern)) {\n	      return list;\n	  } else {\n	      return null;\n	  }\n";
  +        return "          ArrayList list = new ArrayList();\n   if (org.apache.cocoon.matching.helpers.WildcardURIMatcher.match (list, ((HttpServletRequest) objectModel.get(Cocoon.REQUEST_OBJECT))\n					.getRequestURI(), pattern)) {\n	      return list;\n	  } else {\n	      return null;\n	  }\n";
       }
   
       /**