mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-09 04:07:12 +00:00
Some minor fixes to pass the capp_lint checks
This commit is contained in:
@@ -353,9 +353,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
|
||||
- (void)expandItem:(id)anItem expandChildren:(BOOL)shouldExpandChildren
|
||||
{
|
||||
if ([self _delegateRespondsToShouldExpandItem])
|
||||
{
|
||||
if ([_outlineViewDelegate outlineView:self shouldExpandItem:anItem] == NO) return;
|
||||
}
|
||||
if ([_outlineViewDelegate outlineView:self shouldExpandItem:anItem] == NO)
|
||||
return;
|
||||
|
||||
var itemInfo = null;
|
||||
|
||||
@@ -433,9 +432,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
|
||||
return;
|
||||
|
||||
if ([self _delegateRespondsToShouldCollapseItem])
|
||||
{
|
||||
if ([_outlineViewDelegate outlineView:self shouldCollapseItem:anItem] == NO) return;
|
||||
}
|
||||
if ([_outlineViewDelegate outlineView:self shouldCollapseItem:anItem] == NO)
|
||||
return;
|
||||
|
||||
var itemInfo = _itemInfosForItems[[anItem UID]];
|
||||
|
||||
|
||||
@@ -371,7 +371,8 @@
|
||||
|
||||
- (BOOL)outlineView:(CPOutlineView)outlineView shouldExpandItem:(id)item
|
||||
{
|
||||
if(item == @".1") return NO;
|
||||
if (item == @".1")
|
||||
return NO;
|
||||
return YES;
|
||||
}
|
||||
@end
|
||||
@@ -382,7 +383,8 @@
|
||||
|
||||
- (BOOL)outlineView:(CPOutlineView)outlineView shouldCollapseItem:(id)item
|
||||
{
|
||||
if(item == @".1") return NO;
|
||||
if (item == @".1")
|
||||
return NO;
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user