From 80bee5b487e1f22b14165516d780e74b1d056e98 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 17 Mar 2019 11:24:21 -0700 Subject: [PATCH] Do minor formatting changes in Feed.swift. --- Frameworks/Account/Feed.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Frameworks/Account/Feed.swift b/Frameworks/Account/Feed.swift index 599232c0a..436e7913a 100644 --- a/Frameworks/Account/Feed.swift +++ b/Frameworks/Account/Feed.swift @@ -151,6 +151,8 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha } } + // MARK: - Private + private let accountID: String // Used for hashing and equality; account may turn nil private let metadata: FeedMetadata @@ -167,7 +169,6 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha // MARK: - Debug public func debugDropConditionalGetInfo() { - conditionalGetInfo = nil contentHash = nil } @@ -182,7 +183,6 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha // MARK: - Equatable public class func ==(lhs: Feed, rhs: Feed) -> Bool { - return lhs.feedID == rhs.feedID && lhs.accountID == rhs.accountID } } @@ -220,7 +220,6 @@ extension Feed: OPMLRepresentable { extension Set where Element == Feed { func feedIDs() -> Set { - return Set(map { $0.feedID }) } }