lib/taskjuggler/PropertySet.rb in taskjuggler-0.1.1 vs lib/taskjuggler/PropertySet.rb in taskjuggler-0.2.0

- old
+ new

@@ -176,14 +176,10 @@ # properties are no longer up-to-date. You must call index() before using # these attributes. def addProperty(property) # The PropertyTreeNode objects are indexed by ID or hierachical ID # depending on the name space setting of this set. - if @flatNamespace - @propertyMap[property.id] = property - else - @propertyMap[property.fullId] = property - end + @propertyMap[property.id] = property @properties << property end # Remove the PropertyTreeNode (and all its children) object from the set. # _prop_ can either be a property ID or a reference to the PropertyTreeNode.