cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/matching AbstractRegexpMatcher.java
Date Wed, 01 May 2002 10:54:32 GMT
haul        02/05/01 03:54:32

  Modified:    src/java/org/apache/cocoon/matching Tag: cocoon_2_0_3_branch
                        AbstractRegexpMatcher.java
  Log:
  remove size calculation
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.2   +1 -1      xml-cocoon2/src/java/org/apache/cocoon/matching/AbstractRegexpMatcher.java
  
  Index: AbstractRegexpMatcher.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/matching/AbstractRegexpMatcher.java,v
  retrieving revision 1.5.2.1
  retrieving revision 1.5.2.2
  diff -u -r1.5.2.1 -r1.5.2.2
  --- AbstractRegexpMatcher.java	1 May 2002 10:34:25 -0000	1.5.2.1
  +++ AbstractRegexpMatcher.java	1 May 2002 10:54:31 -0000	1.5.2.2
  @@ -70,7 +70,7 @@
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
    * @authos <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
  - * @version CVS $Id: AbstractRegexpMatcher.java,v 1.5.2.1 2002/05/01 10:34:25 haul Exp
$
  + * @version CVS $Id: AbstractRegexpMatcher.java,v 1.5.2.2 2002/05/01 10:54:31 haul Exp
$
    */
   
   public abstract class AbstractRegexpMatcher extends AbstractPreparableMatcher implements
ThreadSafe {
  @@ -123,7 +123,7 @@
                * Note: *ONE* based, not zero, zero contains complete match
                */
               int parenCount = re.getParenCount();
  -            Map map = new HashMap((parenCount+1)/0.75);
  +            Map map = new HashMap();
               for (int paren = 0; paren <= parenCount; paren++) {
                   map.put(Integer.toString(paren), re.getParen(paren));
               }
  
  
  

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