]> source.dussan.org Git - vaadin-framework.git/commitdiff
cleaning
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 27 Dec 2007 14:12:12 +0000 (14:12 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 27 Dec 2007 14:12:12 +0000 (14:12 +0000)
svn changeset:3304/svn branch:trunk

src/com/itmill/toolkit/ui/Form.java

index ed69ba24e1b3a6e894842fc2fd215feec648d383..4ceebcb186d98aa81e87ce060fba5effd1cfe49b 100644 (file)
@@ -369,7 +369,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item,
 
         if (propertyId != null && field != null) {
             dependsOn(field);
-            field.dependsOn(this);
             fields.put(propertyId, field);
             propertyIds.addLast(propertyId);
             field.setReadThrough(readThrough);
@@ -439,7 +438,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item,
             propertyIds.remove(id);
             fields.remove(id);
             removeDirectDependency(field);
-            field.removeDirectDependency(this);
             layout.removeComponent(field);
             return true;
         }
@@ -675,7 +673,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item,
         layout.replaceComponent(oldField, newField);
         fields.put(propertyId, newField);
         removeDirectDependency(oldField);
-        oldField.removeDirectDependency(this);
         dependsOn(newField);
         newField.dependsOn(this);