Author: vsiveton
Date: Sun Aug  3 07:44:16 2008
New Revision: 682182

URL: http://svn.apache.org/viewvc?rev=682182&view=rev
Log:
o minor update due to r682181

Modified:
    
maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/ActiveProfilesMojo.java

Modified: 
maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/ActiveProfilesMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/ActiveProfilesMojo.java?rev=682182&r1=682181&r2=682182&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/ActiveProfilesMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/ActiveProfilesMojo.java
 Sun Aug  3 07:44:16 2008
@@ -19,16 +19,16 @@
  * under the License.
  */
 
-import org.apache.maven.model.Profile;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.project.MavenProject;
-
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.Iterator;
 import java.util.List;
 
+import org.apache.maven.model.Profile;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+
 /**
  * Lists the profiles which are currently active for this build.
  *
@@ -102,10 +102,9 @@
      */
     private void getActiveProfileStatement( MavenProject project, StringBuffer 
message )
     {
-        List profiles = new ArrayList();
         // Get active profiles into our own list,
         // since we'll be modifying it, further below
-        profiles.addAll(project.getActiveProfiles());
+        List profiles = new ArrayList( project.getActiveProfiles() );
 
         message.append( "\n" );
 


Reply via email to