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/matching RegexpTargetHostMatcherFactory.java
Date Thu, 19 Jul 2001 13:40:41 GMT
bloritsch    01/07/19 06:40:41

  Modified:    src/org/apache/cocoon/matching
                        RegexpTargetHostMatcherFactory.java
  Log:
  Fix Sitemap so that Jakarta Regexp is not needed unless
  we use the RegExp Matcher
  
  Revision  Changes    Path
  1.2       +4 -4      xml-cocoon2/src/org/apache/cocoon/matching/RegexpTargetHostMatcherFactory.java
  
  Index: RegexpTargetHostMatcherFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/matching/RegexpTargetHostMatcherFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RegexpTargetHostMatcherFactory.java	2001/05/09 20:49:39	1.1
  +++ RegexpTargetHostMatcherFactory.java	2001/07/19 13:40:41	1.2
  @@ -23,14 +23,14 @@
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
    * @author <a href="mailto:paul@luminas.co.uk">Paul Russell</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/05/09 20:49:39 $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/07/19 13:40:41 $
    */
   
   public class RegexpTargetHostMatcherFactory extends AbstractLoggable implements CodeFactory
{
   
       public String generateParameterSource (NodeList conf)
       throws ConfigurationException {
  -        return "RE";
  +        return "org.apache.regexp.RE";
       }
   
       public String generateClassSource (String prefix, String pattern,
  @@ -60,9 +60,9 @@
                   sb.append("0x").append(hex).append(", ");
               }
               sb.append("\n    };")
  -              .append("\n    static RE ")
  +              .append("\n    static org.apache.regexp.RE ")
                 .append(name)
  -              .append("_expr = new RE(new REProgram(")
  +              .append("_expr = new org.apache.regexp.RE(new org.apache.regexp.REProgram(")
                 .append(instructions)
                 .append("));");
               return sb.toString();
  
  
  

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