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:25:28 UTC
[sling-org-apache-sling-testing-osgi-mock] branch experimental/WTES-69-diagnosis updated: add service class
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 0a0f16b add service class
0a0f16b is described below
commit 0a0f16b41d2be237c852cdd663bac8fb80e640d5
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Dec 7 11:24:10 2021 +0100
add service class
---
.../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 aa1638c..4f4620e 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, StringUtils.join(clazzes, ","), this);
+ log.debug("Register {} ({}), bundleContext={}", service, StringUtils.join(clazzes, ","), this);
/*
if (log.isDebugEnabled()) {
log.debug("Register {} ({}), bundleContext={}", service.getClass().getName(), StringUtils.join(clazzes, ","), this);