From 01d5a95241f58505e8af2e3fe83decc4343f3da6 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 28 May 2019 16:31:03 -0500 Subject: [PATCH] Remove redundant private keyword usage --- .../Sidebar/SidebarOutlineDataSource.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift index 903373e54..e304e30c0 100644 --- a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift +++ b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift @@ -209,7 +209,7 @@ private extension SidebarOutlineDataSource { } } - private func accountForNode(_ node: Node) -> Account? { + func accountForNode(_ node: Node) -> Account? { if let account = node.representedObject as? Account { return account } @@ -222,7 +222,7 @@ private extension SidebarOutlineDataSource { return nil } - private func commonAccountsFor(_ nodes: Set) -> Set { + func commonAccountsFor(_ nodes: Set) -> Set { var accounts = Set() for node in nodes { @@ -234,7 +234,7 @@ private extension SidebarOutlineDataSource { return accounts } - private func copyInAccount(node: Node, to parentNode: Node) { + func copyInAccount(node: Node, to parentNode: Node) { guard let feed = node.representedObject as? Feed else { return } @@ -251,7 +251,7 @@ private extension SidebarOutlineDataSource { } } - private func moveInAccount(node: Node, to parentNode: Node) { + func moveInAccount(node: Node, to parentNode: Node) { guard let feed = node.representedObject as? Feed else { return } @@ -276,7 +276,7 @@ private extension SidebarOutlineDataSource { } } - private func copyBetweenAccounts(node: Node, to parentNode: Node) { + func copyBetweenAccounts(node: Node, to parentNode: Node) { guard let feed = node.representedObject as? Feed, let destinationAccount = nodeAccount(parentNode), let destinationContainer = parentNode.representedObject as? Container else { @@ -293,7 +293,7 @@ private extension SidebarOutlineDataSource { } } - private func moveBetweenAccounts(node: Node, to parentNode: Node) { + func moveBetweenAccounts(node: Node, to parentNode: Node) { guard let feed = node.representedObject as? Feed, let sourceAccount = nodeAccount(node), let destinationAccount = nodeAccount(parentNode),