FELIX-4109 ComponentTypeDescription.addProperty() ignore immutable parameter

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1490592 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/architecture/ComponentTypeDescription.java b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/architecture/ComponentTypeDescription.java
index d1193fb..86a171f 100644
--- a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/architecture/ComponentTypeDescription.java
+++ b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/architecture/ComponentTypeDescription.java
@@ -129,8 +129,7 @@
      * @param immutable : the property is immutable.
      */
     public void addProperty(String name, String value, boolean immutable) {
-        PropertyDescription prop = new PropertyDescription(name, String.class.getName(), value);
-        addProperty(prop);
+        addProperty(new PropertyDescription(name, String.class.getName(), value, immutable));
     }
 
     /**