maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r1054635 - /maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
Date Mon, 03 Jan 2011 14:53:30 GMT
Author: bentmann
Date: Mon Jan  3 14:53:30 2011
New Revision: 1054635

URL: http://svn.apache.org/viewvc?rev=1054635&view=rev
Log:
o Polished code

Modified:
    maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

Modified: maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java?rev=1054635&r1=1054634&r2=1054635&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
(original)
+++ maven/maven-3/trunk/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
Mon Jan  3 14:53:30 2011
@@ -62,10 +62,10 @@ final class RemoteSnapshotMetadata
         this.legacyFormat = legacyFormat;
     }
 
-    private static Metadata createMetadata( Artifact artifact, boolean legacy )
+    private static Metadata createMetadata( Artifact artifact, boolean legacyFormat )
     {
         Metadata metadata = new Metadata();
-        if ( !legacy )
+        if ( !legacyFormat )
         {
             metadata.setModelVersion( "1.1.0" );
         }



Mime
View raw message