This is an automated email from the ASF dual-hosted git repository. stbischof pushed a commit to branch stbischof-patch-1 in repository https://gitbox.apache.org/repos/asf/felix-dev.git
commit 8d5e7c9b828944859049671219863e6e57ab8fb6 Author: Stefan Bischof <[email protected]> AuthorDate: Mon Aug 30 17:34:53 2021 +0200 Features - fix typo in Exception-message Signed-off-by: Stefan Bischof <[email protected]> --- .../main/java/org/apache/felix/feature/impl/ArtifactBuilderImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/src/main/java/org/apache/felix/feature/impl/ArtifactBuilderImpl.java b/features/src/main/java/org/apache/felix/feature/impl/ArtifactBuilderImpl.java index 3af5e71..db2c00e 100644 --- a/features/src/main/java/org/apache/felix/feature/impl/ArtifactBuilderImpl.java +++ b/features/src/main/java/org/apache/felix/feature/impl/ArtifactBuilderImpl.java @@ -55,7 +55,7 @@ class ArtifactBuilderImpl implements FeatureArtifactBuilder { throw new IllegalArgumentException("Metadata key cannot be null"); if (md.values().contains(null)) - throw new IllegalArgumentException("Metadata key cannot be null"); + throw new IllegalArgumentException("Metadata value cannot be null"); if (md.keySet().stream() .map(String::toLowerCase)
