mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Remove some no-longer-needed nonisolated(unsafe) marks for Loggers. (Not needed in Xcode 16.2b1.)
This commit is contained in:
@@ -17,7 +17,7 @@ public struct AccountSyncError {
|
||||
|
||||
// OSLog is supposedly Sendable and will be annotated that way in the future:
|
||||
// https://forums.developer.apple.com/forums/thread/747816
|
||||
nonisolated(unsafe) private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
|
||||
public let account: Account
|
||||
public let error: Error
|
||||
|
||||
@@ -14,7 +14,7 @@ import os.log
|
||||
|
||||
public final class FeedFinder {
|
||||
|
||||
nonisolated(unsafe) private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "FeedFinder")
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "FeedFinder")
|
||||
|
||||
public static func find(url: URL) async throws -> Set<FeedSpecifier> {
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ public final class HTMLMetadataDownloader: Sendable {
|
||||
|
||||
static let shared = HTMLMetadataDownloader()
|
||||
|
||||
nonisolated(unsafe) private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "HTMLMetadataDownloader")
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "HTMLMetadataDownloader")
|
||||
private let debugLoggingEnabled = false
|
||||
private let cache = HTMLMetadataCache()
|
||||
private let attemptDatesLock = OSAllocatedUnfairLock(initialState: [String: Date]())
|
||||
|
||||
@@ -12,7 +12,7 @@ import os
|
||||
public final class HTMLLinkParser {
|
||||
|
||||
public private(set) var links = [HTMLLink]()
|
||||
nonisolated(unsafe) private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "HTMLLinkParser")
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "HTMLLinkParser")
|
||||
|
||||
private let parserData: ParserData
|
||||
private let baseURL: URL?
|
||||
|
||||
Reference in New Issue
Block a user