You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2004/06/24 10:50:32 UTC

cvs commit: maven-plugins/announcement/src/main/org/apache/maven/announcement Formatter.java

vmassol     2004/06/24 01:50:32

  Modified:    announcement project.xml
               announcement/xdocs changes.xml
               announcement/src/main/org/apache/maven/announcement
                        Formatter.java
  Log:
  Applied patch MPANNOUNCEMENT-7 (removal of a unnecessary cast). Please note that there's no change in changes.xml as this is NOT a user-visible change.
  
  Revision  Changes    Path
  1.21      +6 -1      maven-plugins/announcement/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/project.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- project.xml	16 May 2004 01:35:45 -0000	1.20
  +++ project.xml	24 Jun 2004 08:50:31 -0000	1.21
  @@ -23,7 +23,7 @@
     <pomVersion>3</pomVersion>
     <id>maven-announcement-plugin</id>
     <name>Maven Announcement Plugin</name>
  -  <currentVersion>1.1</currentVersion>
  +  <currentVersion>1.2-SNAPSHOT</currentVersion>
     <description>The Announcement plugin generates release announcements. It uses the information found in both the POM and in the changes.xml file to generate the announcement text.</description>&gt;
     <shortDescription>Produce release announcement</shortDescription>
     <url>http://maven.apache.org/reference/plugins/announcement/</url>
  @@ -44,6 +44,11 @@
         <id>1.1</id>
         <name>1.1</name>
         <tag>MAVEN_ANNOUNCEMENT_1_1</tag>
  +    </version>
  +    <version>
  +      <id>1.2</id>
  +      <name>1.2</name>
  +      <tag>HEAD</tag>
       </version>
     </versions>
     <developers>
  
  
  
  1.17      +2 -0      maven-plugins/announcement/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/xdocs/changes.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- changes.xml	16 May 2004 01:13:28 -0000	1.16
  +++ changes.xml	24 Jun 2004 08:50:31 -0000	1.17
  @@ -24,6 +24,8 @@
       <author email="vmassol@apache.org">Vincent Massol</author>
     </properties>
     <body>
  +    <release version="1.2-SNAPSHOT" date="in CVS">
  +    </release>
       <release version="1.1" date="2004-05-15">
         <action dev="brett" type="update">Detect whether the project is a plugin or not by the existence of plugin.jelly in the project directory, and change the wording accordingly.</action>
         <action dev="vmassol" type="add">Added new
  
  
  
  1.6       +2 -2      maven-plugins/announcement/src/main/org/apache/maven/announcement/Formatter.java
  
  Index: Formatter.java
  ===================================================================
  RCS file: /home/cvs/maven-plugins/announcement/src/main/org/apache/maven/announcement/Formatter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Formatter.java	1 May 2004 09:46:21 -0000	1.5
  +++ Formatter.java	24 Jun 2004 08:50:32 -0000	1.6
  @@ -44,7 +44,7 @@
           StringBuffer buffer = new StringBuffer();
           while (st.hasMoreTokens())
           {
  -            String token = (String) st.nextToken();
  +            String token = st.nextToken();
               if (buffer.length() + token.length() <= column)
               {
                   buffer.append(token);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org