changeset 1029:7fdd6aa5feac

Fix OSGi filter syntax. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-March/006054.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Tue, 12 Mar 2013 17:50:04 +0100
parents dbc2efe40d0d
children 9aebfc145f7b
files client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java	Tue Mar 12 14:24:00 2013 +0100
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java	Tue Mar 12 17:50:04 2013 +0100
@@ -47,7 +47,7 @@
 class HostFilterRegistry extends ThermostatExtensionRegistry<Filter> {
 
     private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" +
-            Filter.class.getName() + ")&(" +
+            Filter.class.getName() + ")(" +
             com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" +
             HostRef.class.getName() + "))";
 
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java	Tue Mar 12 14:24:00 2013 +0100
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java	Tue Mar 12 17:50:04 2013 +0100
@@ -48,7 +48,7 @@
 class HostTreeDecoratorRegistry extends ThermostatExtensionRegistry<DecoratorProvider> {
 
     private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" +
-            DecoratorProvider.class.getName() + ")&(" +
+            DecoratorProvider.class.getName() + ")(" +
             com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" +
             HostRef.class.getName() + "))";
 
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java	Tue Mar 12 14:24:00 2013 +0100
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java	Tue Mar 12 17:50:04 2013 +0100
@@ -48,7 +48,7 @@
 class VMInformationRegistry extends ThermostatExtensionRegistry<InformationService> {
 
     private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" +
-            InformationService.class.getName() + ")&(" +
+            InformationService.class.getName() + ")(" +
             com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" +
             VmRef.class.getName() + "))";
     
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java	Tue Mar 12 14:24:00 2013 +0100
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java	Tue Mar 12 17:50:04 2013 +0100
@@ -48,7 +48,7 @@
 class VMTreeDecoratorRegistry extends ThermostatExtensionRegistry<DecoratorProvider> {
 
     private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" +
-            DecoratorProvider.class.getName() + ")&(" +
+            DecoratorProvider.class.getName() + ")(" +
             com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" +
             VmRef.class.getName() + "))";
 
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java	Tue Mar 12 14:24:00 2013 +0100
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java	Tue Mar 12 17:50:04 2013 +0100
@@ -47,7 +47,7 @@
 class VmFilterRegistry extends ThermostatExtensionRegistry<Filter> {
 
     private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" +
-            Filter.class.getName() + ")&(" +
+            Filter.class.getName() + ")(" +
             com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" +
             VmRef.class.getName() + "))";