correct bug that caused certain snapshot files to never be updated

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-10 02:52:37 +00:00
parent 7040851876
commit a53624b4b4
1 changed files with 12 additions and 1 deletions

View File

@ -128,7 +128,18 @@ public class SnapshotArtifactMetadata
}
else if ( timestamp == null )
{
return -1;
if ( metadata.timestamp == null )
{
return 0;
}
else
{
return -1;
}
}
else if ( metadata.timestamp == null )
{
return 1;
}
else
{