Fix a potential concurrent modification exception

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1520733 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java
index 642ec89..afca921 100644
--- a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java
+++ b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java
@@ -457,7 +457,7 @@
      * Get the list of properties attached to the service registration.
      * @return the properties attached to the provided service.
      */
-    public Property[] getProperties() {
+    public synchronized Property[] getProperties() {
         return m_properties.values().toArray(new Property[m_properties.size()]);
     }