Remove redundant private keyword usage
This commit is contained in:
parent
cf016c5d7d
commit
01d5a95241
|
@ -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 {
|
if let account = node.representedObject as? Account {
|
||||||
return account
|
return account
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ private extension SidebarOutlineDataSource {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
private func commonAccountsFor(_ nodes: Set<Node>) -> Set<Account> {
|
func commonAccountsFor(_ nodes: Set<Node>) -> Set<Account> {
|
||||||
|
|
||||||
var accounts = Set<Account>()
|
var accounts = Set<Account>()
|
||||||
for node in nodes {
|
for node in nodes {
|
||||||
|
@ -234,7 +234,7 @@ private extension SidebarOutlineDataSource {
|
||||||
return accounts
|
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 {
|
guard let feed = node.representedObject as? Feed else {
|
||||||
return
|
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 {
|
guard let feed = node.representedObject as? Feed else {
|
||||||
return
|
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,
|
guard let feed = node.representedObject as? Feed,
|
||||||
let destinationAccount = nodeAccount(parentNode),
|
let destinationAccount = nodeAccount(parentNode),
|
||||||
let destinationContainer = parentNode.representedObject as? Container else {
|
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,
|
guard let feed = node.representedObject as? Feed,
|
||||||
let sourceAccount = nodeAccount(node),
|
let sourceAccount = nodeAccount(node),
|
||||||
let destinationAccount = nodeAccount(parentNode),
|
let destinationAccount = nodeAccount(parentNode),
|
||||||
|
|
Loading…
Reference in New Issue