commit | e369c2ddd88e855e97d822876d3285b33cf40a9d | [log] [tgz] |
---|---|---|
author | Guillaume Sauthier <guillaume@apache.org> | Fri Jun 07 11:32:26 2013 +0000 |
committer | Guillaume Sauthier <guillaume@apache.org> | Fri Jun 07 11:32:26 2013 +0000 |
tree | a1f19c41ce7e3904ad728890a87ee5a7a3fe377b | |
parent | 38e1e40370b50cbb0065752cac051120511f3177 [diff] |
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)); } /**