maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1399024 - /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
Date Tue, 16 Oct 2012 22:23:34 GMT
Author: hboutemy
Date: Tue Oct 16 22:23:33 2012
New Revision: 1399024

URL: http://svn.apache.org/viewvc?rev=1399024&view=rev
Log:
replaced tabs with spaces

Modified:
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?rev=1399024&r1=1399023&r2=1399024&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
Tue Oct 16 22:23:33 2012
@@ -70,8 +70,7 @@ public final class DependencyUtil
      */
     public static String getFormattedFileName( Artifact artifact, boolean removeVersion,
boolean prependGroupId )
     {   
-    	return getFormattedFileName(artifact, removeVersion, prependGroupId, false);
-    	
+        return getFormattedFileName( artifact, removeVersion, prependGroupId, false );
     }
 
     /**
@@ -104,14 +103,14 @@ public final class DependencyUtil
         String versionString = null;
         if ( !removeVersion )
         {
-        	if ( useBaseVersion )
+            if ( useBaseVersion )
             {
-        		versionString = "-" + artifact.getBaseVersion();
+                versionString = "-" + artifact.getBaseVersion();
+            }
+            else
+            {
+                versionString = "-" + artifact.getVersion();
             }
-        	else
-        	{
-        		versionString = "-" + artifact.getVersion();
-        	}
         }
         else
         {



Mime
View raw message