mirror of https://github.com/apache/maven.git
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:
parent
7040851876
commit
a53624b4b4
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue