[MNG-6571] forgot to put new instance in cache

This commit is contained in:
Hervé Boutemy 2019-02-05 08:34:55 +01:00
parent 8f9075d3ad
commit 6bd8bb9ba6
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ public class VersionRange
{
List<Restriction> restrictions = Collections.emptyList();
cached = new VersionRange( new DefaultArtifactVersion( version ), restrictions );
CACHE.put( version, cached );
}
return cached;
}