fix junit

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-12 11:01:16 +00:00
parent eee8044673
commit d4b081c74d
1 changed files with 3 additions and 3 deletions

View File

@ -112,10 +112,10 @@ public class RepositoryModelResolver
// is a SNAPSHOT ?
if ( StringUtils.contains( version, "SNAPSHOT" ) )
{
model = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() );
if ( model != null )
File localSnapshotModel = findTimeStampedSnapshotPom( groupId, artifactId, version, model.getParent() );
if ( localSnapshotModel != null )
{
return new FileModelSource( model );
return new FileModelSource( localSnapshotModel );
}
}