This is an automated email from the ASF dual-hosted git repository. simonetripodi pushed a commit to branch SLING-8078_uses in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git
commit 73dac26c3236220a09621f11862ad552f5f827ec Author: Simo Tripodi <[email protected]> AuthorDate: Thu Nov 15 10:59:36 2018 +0100 SLING-8078 - New Analyser task which is able to detect Export-Package dependencies between regions s/requires/uses, according to the OSGi clausole --- .../sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java b/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java index fa35b39..5fb6e04 100644 --- a/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java +++ b/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java @@ -72,7 +72,7 @@ public class CheckApiRegionsDependencies extends AbstractApiRegionsAnalyserTask for (String uses : packageInfo.getUses()) { if (hidingApis.contains(uses)) { String errorMessage = String.format( - "Bundle '%s' (defined in feature '%s') declares '%s' in the '%s' header, enlisted in the '%s' region, which requires '%s' package that is in the '%s' region", + "Bundle '%s' (defined in feature '%s') declares '%s' in the '%s' header, enlisted in the '%s' region, which uses '%s' package that is in the '%s' region", bundleDescriptor.getArtifact().getId(), ctx.getFeature().getId(), exportedPackage,
