You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by st...@apache.org on 2021/08/30 15:34:59 UTC
[felix-dev] 01/01: Features - fix typo in Exception-message
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 <st...@bipolis.org>
AuthorDate: Mon Aug 30 17:34:53 2021 +0200
Features - fix typo in Exception-message
Signed-off-by: Stefan Bischof <st...@bipolis.org>
---
.../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)