aboutsummaryrefslogtreecommitdiffstats
path: root/bundle-plugin
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-06 07:50:22 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-06 07:51:53 +0000
commit0a4c92e017a0940f42effdd5a4ae038d0711bab5 (patch)
tree15be3d89dc0a2251457011c9222870bd6361b28d /bundle-plugin
parent2d07d02ae57f69fda21dbd90d1d4eaa6b35719f8 (diff)
use more descriptive names
Diffstat (limited to 'bundle-plugin')
-rw-r--r--bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/TestProvidedArtifacts.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/TestProvidedArtifacts.java b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/TestProvidedArtifacts.java
index 6f9e305f8d9..e5a64744860 100644
--- a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/TestProvidedArtifacts.java
+++ b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/TestProvidedArtifacts.java
@@ -38,8 +38,8 @@ class TestProvidedArtifacts {
boolean hasTestProvidedArtifactAsParent =
dependencyTrail(artifact, artifacts)
.anyMatch(parent -> testProvidedArtifactStringIds.contains(toArtifactStringId(parent)));
- boolean isBlacklisted = testProvidedArtifactStringIds.contains(toBlacklistedArtifactStringId(artifact));
- if (hasTestProvidedArtifactAsParent && !isBlacklisted) {
+ boolean isBlocked = testProvidedArtifactStringIds.contains(toBlockedArtifactStringId(artifact));
+ if (hasTestProvidedArtifactAsParent && !isBlocked) {
testProvidedArtifacts.add(artifact);
}
}
@@ -68,6 +68,6 @@ class TestProvidedArtifacts {
private static String toArtifactStringId(Artifact artifact) { return artifact.getGroupId() + ":" + artifact.getArtifactId(); }
- private static String toBlacklistedArtifactStringId(Artifact artifact) { return "!" + toArtifactStringId(artifact); }
+ private static String toBlockedArtifactStringId(Artifact artifact) { return "!" + toArtifactStringId(artifact); }
}