maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject svn commit: r616922 - /maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java
Date Wed, 30 Jan 2008 22:12:27 GMT
Author: aheritier
Date: Wed Jan 30 14:12:22 2008
New Revision: 616922

URL: http://svn.apache.org/viewvc?rev=616922&view=rev
Log:
remove unused import

Modified:
    maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java?rev=616922&r1=616921&r2=616922&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/InstallPluginsMojo.java
Wed Jan 30 14:12:22 2008
@@ -45,7 +45,6 @@
 import org.codehaus.plexus.archiver.manager.NoSuchArchiverException;
 import org.codehaus.plexus.components.interactivity.InputHandler;
 import org.codehaus.plexus.util.FileUtils;
-import org.codehaus.plexus.util.StringUtils;
 
 /**
  * Install plugins resolved from the Maven repository system into an Eclipse instance.
@@ -150,7 +149,7 @@
     {
         this.eclipseDir = eclipseDir;
         this.overwrite = overwrite;
-        this.artifacts = dependencyArtifacts;
+        artifacts = dependencyArtifacts;
         this.pluginDependencyTypes = pluginDependencyTypes;
         this.localRepository = localRepository;
         this.projectBuilder = projectBuilder;
@@ -415,8 +414,8 @@
      */
     private String formatEclipsePluginName( Artifact artifact, String bundleVersion )
     {
-        return maven2OsgiConverter.getBundleSymbolicName( artifact ) + "_"
-            + maven2OsgiConverter.getVersion( artifact.getVersion() );
+        return maven2OsgiConverter.getBundleSymbolicName( artifact ) + "_" +
+            maven2OsgiConverter.getVersion( artifact.getVersion() );
     }
 
 }



Mime
View raw message