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:58 UTC
[felix-dev] branch stbischof-patch-1 created (now 8d5e7c9)
This is an automated email from the ASF dual-hosted git repository.
stbischof pushed a change to branch stbischof-patch-1
in repository https://gitbox.apache.org/repos/asf/felix-dev.git.
at 8d5e7c9 Features - fix typo in Exception-message
This branch includes the following new commits:
new 8d5e7c9 Features - fix typo in Exception-message
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[felix-dev] 01/01: Features - fix typo in Exception-message
Posted by st...@apache.org.
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)