You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/01/24 17:02:12 UTC

[maven] branch MNG-6571 updated: [MNG-6571] stupid me...

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MNG-6571
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-6571 by this push:
     new 8c1b513  [MNG-6571] stupid me...
8c1b513 is described below

commit 8c1b51343ae8fdd97fd1e497516199efde4cc9d7
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Jan 24 18:02:10 2019 +0100

    [MNG-6571] stupid me...
---
 .../main/java/org/apache/maven/artifact/versioning/VersionRange.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
index 2b5de99..5d7b254 100644
--- a/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
+++ b/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
@@ -176,7 +176,7 @@ public class VersionRange
         }
 
         cached = new VersionRange( version, restrictions );
-        CACHE.put( spec, new VersionRange( version, restrictions ) );
+        CACHE.put( spec, cached );
         return cached;
     }