You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2002/12/31 08:00:26 UTC

cvs commit: jakarta-turbine-maven/src/java/org/apache/maven MavenTool.java

jvanzyl     2002/12/30 23:00:26

  Modified:    src/java/org/apache/maven MavenTool.java
  Log:
  refactoring. update to follow
  
  Revision  Changes    Path
  1.14      +8 -3      jakarta-turbine-maven/src/java/org/apache/maven/MavenTool.java
  
  Index: MavenTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/MavenTool.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- MavenTool.java	24 Nov 2002 19:00:37 -0000	1.13
  +++ MavenTool.java	31 Dec 2002 07:00:25 -0000	1.14
  @@ -26,12 +26,12 @@
    *    if and wherever such third-party acknowledgments normally appear.
    *
    * 4. The names "Apache" and "Apache Software Foundation" and
  - *    "Apache Maven" must not be used to endorse or promote products
  + *    "Apache MavenSession" must not be used to endorse or promote products
    *    derived from this software without prior written permission. For
    *    written permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache",
  - *    "Apache Maven", nor may "Apache" appear in their name, without
  + *    "Apache MavenSession", nor may "Apache" appear in their name, without
    *    prior written permission of the Apache Software Foundation.
    *
    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  @@ -71,7 +71,7 @@
   import java.util.TreeSet;
   
   /**
  - * Context/pull tool for use in Maven templates.
  + * Context/pull tool for use in MavenSession templates.
    *
    * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
    */
  @@ -295,5 +295,10 @@
       private void setCountedItemsReversed( Map countedItemsReversed )
       {
           this.countedItemsReversed = countedItemsReversed;
  +    }
  +
  +    public Integer toInteger( String s )
  +    {
  +        return Integer.valueOf( s );
       }
   }