daniancu commented on code in PR #20:
URL:
https://github.com/apache/sling-org-apache-sling-discovery-oak/pull/20#discussion_r3734185572
##########
src/main/java/org/apache/sling/discovery/oak/OakDiscoveryService.java:
##########
@@ -105,6 +108,17 @@ public class OakDiscoveryService extends
BaseDiscoveryService {
**/
private volatile boolean activated = false;
+ /**
+ * Latched to {@code true} once this component or the OSGi framework begins
+ * shutting down. See {@link #isShuttingDown()}.
+ */
+ private volatile boolean deactivating = false;
+
+ /**
+ * Cached system bundle (bundle 0), resolved once at activation.
+ */
+ private final AtomicReference<Bundle> systemBundle = new
AtomicReference<>();
Review Comment:
I made that change only because Sonar insisted, otherwise the build failed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]