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 15:09:33 UTC
[sling-org-apache-sling-testing-osgi-mock] branch master updated: cosmetic: eliminate code warning
This is an automated email from the ASF dual-hosted git repository.
sseifert pushed a commit to branch master
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/master by this push:
new bc37a27 cosmetic: eliminate code warning
bc37a27 is described below
commit bc37a27c9427262730b473a2a7ad39de51c6d3e0
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Dec 7 16:08:19 2021 +0100
cosmetic: eliminate code warning
---
.../activatedeactivate/ServiceReferenceInConstructor.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/ServiceReferenceInConstructor.java b/test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/ServiceReferenceInConstructor.java
index 0e16556..beae296 100644
--- a/test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/ServiceReferenceInConstructor.java
+++ b/test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/ServiceReferenceInConstructor.java
@@ -25,6 +25,7 @@ import org.osgi.service.component.annotations.Reference;
@Component
public class ServiceReferenceInConstructor {
+ @SuppressWarnings("unused")
private final Service1 service1;
@Activate