From c023a385447d4d067ef3a7d2272b76928ffda7e2 Mon Sep 17 00:00:00 2001 From: cacaodev Date: Sat, 19 Jan 2013 17:07:11 +0100 Subject: [PATCH] Remove unused code --- AppKit/CPRuleEditor/CPRuleEditor.j | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/AppKit/CPRuleEditor/CPRuleEditor.j b/AppKit/CPRuleEditor/CPRuleEditor.j index ab6b703d0..b792e9525 100644 --- a/AppKit/CPRuleEditor/CPRuleEditor.j +++ b/AppKit/CPRuleEditor/CPRuleEditor.j @@ -1520,23 +1520,10 @@ TODO: implement oldRows = [CPArray arrayWithArray:newRows]; [oldRows removeObjectsInArray:changeNewValue]; } - else if (changeKind === CPKeyValueChangeRemoval) - { - newRows = [self _subrowObjectsOfObject:object]; - oldRows = [CPArray arrayWithArray:newRows]; - var delIndexes = [change objectForKey:CPKeyValueChangeIndexesKey]; - [oldRows insertObjects:delObjects atIndexes:changeOldValue]; // Pas sur que ce soit bon - } [self _changedRowArray:newRows withOldRowArray:oldRows forParent:object]; [self _reconfigureSubviewsAnimate:[self _wantsRowAnimations]]; } - else if (context === itemsContext) - { - } - else if (context === valuesContext) - { - } } - (void)_changedItem:(id)fromItem toItem:(id)toItem inRow:(int)aRow atCriteriaIndex:(int)fromItemIndex