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/11/07 09:43:02 UTC
[sling-org-apache-sling-installer-factory-subsystems] 05/10:
Correct filter expression
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.installer.factory.subsystems-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-subsystems.git
commit a8f07491d903f50d17f646b84da6f829795ecfc7
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/installer/factories/subsystems@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>.