You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:27:06 UTC
[sling-org-apache-sling-installer-factory-subsystems] 04/15:
Correct filter expression
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-subsystems.git
commit c71ed62f729422211a5173c81fad018aff32d5f3
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Oct 2 13:32:24 2014 +0000
Correct filter expression
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1628968 13f79535-47bb-0310-9956-ffa450edef68
---
.../apache/sling/installer/factories/subsystems/impl/Activator.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/installer/factories/subsystems/impl/Activator.java b/src/main/java/org/apache/sling/installer/factories/subsystems/impl/Activator.java
index 2a4e173..8429b8d 100644
--- a/src/main/java/org/apache/sling/installer/factories/subsystems/impl/Activator.java
+++ b/src/main/java/org/apache/sling/installer/factories/subsystems/impl/Activator.java
@@ -46,8 +46,8 @@ public class Activator implements BundleActivator {
*/
public void start(final BundleContext context) throws Exception {
this.rootSubsystemTracker = new ServiceTracker<Subsystem, Subsystem>(context,
- "&(" + Constants.OBJECTCLASS + "=" + Subsystem.class.getName() + ")" +
- "(" + SubsystemConstants.SUBSYSTEM_ID_PROPERTY + "=0)",
+ context.createFilter("(&(" + Constants.OBJECTCLASS + "=" + Subsystem.class.getName() + ")" +
+ "(" + SubsystemConstants.SUBSYSTEM_ID_PROPERTY + "=0))"),
new ServiceTrackerCustomizer<Subsystem, Subsystem>() {
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.