We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
null
1 parent fd98d59 commit ebeeb33Copy full SHA for ebeeb33
src/test/java/com/github/packageurl/PurlParameters.java
@@ -98,7 +98,7 @@ private PurlParameters(
98
this.version = version;
99
if (qualifiers != null) {
100
this.qualifiers = qualifiers.toMap().entrySet().stream()
101
- .collect(Collectors.toMap(Map.Entry::getKey, entry -> Objects.toString(entry.getValue())));
+ .collect(Collectors.toMap(Map.Entry::getKey, entry -> Objects.toString(entry.getValue(), null)));
102
} else {
103
this.qualifiers = Collections.emptyMap();
104
}
0 commit comments