o Polished code

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1054635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2011-01-03 14:53:30 +00:00
parent 32dd64f76e
commit 88f67117cf
1 changed files with 2 additions and 2 deletions

View File

@ -62,10 +62,10 @@ final class RemoteSnapshotMetadata
this.legacyFormat = legacyFormat; this.legacyFormat = legacyFormat;
} }
private static Metadata createMetadata( Artifact artifact, boolean legacy ) private static Metadata createMetadata( Artifact artifact, boolean legacyFormat )
{ {
Metadata metadata = new Metadata(); Metadata metadata = new Metadata();
if ( !legacy ) if ( !legacyFormat )
{ {
metadata.setModelVersion( "1.1.0" ); metadata.setModelVersion( "1.1.0" );
} }