You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2021/12/07 10:09:14 UTC

[sling-org-apache-sling-testing-osgi-mock] branch experimental/WTES-69-diagnosis updated: add classes

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch experimental/WTES-69-diagnosis
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-osgi-mock.git


The following commit(s) were added to refs/heads/experimental/WTES-69-diagnosis by this push:
     new 7d6724f  add classes
7d6724f is described below

commit 7d6724f1476e738b016ba0cbf2ecc34edae263d6
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Dec 7 11:09:06 2021 +0100

    add classes
---
 .../main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java b/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java
index 240f547..aa1638c 100644
--- a/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java
+++ b/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java
@@ -128,7 +128,7 @@ class MockBundleContext implements BundleContext {
     @SuppressWarnings("unchecked")
     @Override
     public ServiceRegistration registerService(final String[] clazzes, final Object service, final Dictionary properties) {
-        log.debug("Register {} ({}), bundleContext={}", null, null, this);
+        log.debug("Register {} ({}), bundleContext={}", null, StringUtils.join(clazzes, ","), this);
         /*
         if (log.isDebugEnabled()) {
             log.debug("Register {} ({}), bundleContext={}", service.getClass().getName(), StringUtils.join(clazzes, ","), this);