stbischof commented on code in PR #438:
URL: https://github.com/apache/felix-dev/pull/438#discussion_r2282450252


##########
scr/src/main/java/org/apache/felix/scr/impl/Activator.java:
##########
@@ -225,8 +225,11 @@ protected void doStart() throws Exception
 
         super.doStart();
 
-        m_componentCommands = new ComponentCommands(m_context, 
m_globalContext, runtime, m_configuration);
-        m_componentCommands.register();
+       m_componentCommands = new ComponentCommands(m_context, m_globalContext, 
runtime, m_configuration);
+       if(m_configuration.isCommandsEnabled()) {
+            m_componentCommands.register();
+        }

Review Comment:
   fixed the formatting issues



-- 
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]

Reply via email to