mirror of https://github.com/apache/maven.git
[MNG-6571] forgot to put new instance in cache
This commit is contained in:
parent
8f9075d3ad
commit
6bd8bb9ba6
|
@ -241,6 +241,7 @@ public class VersionRange
|
||||||
{
|
{
|
||||||
List<Restriction> restrictions = Collections.emptyList();
|
List<Restriction> restrictions = Collections.emptyList();
|
||||||
cached = new VersionRange( new DefaultArtifactVersion( version ), restrictions );
|
cached = new VersionRange( new DefaultArtifactVersion( version ), restrictions );
|
||||||
|
CACHE.put( version, cached );
|
||||||
}
|
}
|
||||||
return cached;
|
return cached;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue