FELIX-3650 Ignore LOCATION_CHANGED event for now
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1380113 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurationSupport.java b/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurationSupport.java
index f90f14e..d46c565 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurationSupport.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurationSupport.java
@@ -167,8 +167,8 @@
// iterate over all components which must be configured with this pid
// (since DS 1.2, components may specify a specific configuration PID (112.4.4 configuration-pid)
- Iterator it;
-
+ Iterator it;
+
if (factoryPid == null)
{
it = this.m_registry.getComponentHoldersByPid(pid);
@@ -238,6 +238,11 @@
}
break;
+ case ConfigurationEvent.CM_LOCATION_CHANGED:
+ // FELIX-3650: Don't log WARNING message
+ // FELIX-3584: Implement event support
+ break;
+
default:
Activator.log(LogService.LOG_WARNING, null, "Unknown ConfigurationEvent type " + event.getType(),
null);