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?
|
||||
|
||||
@@ -12,7 +12,7 @@ import Web
|
||||
|
||||
struct CacheCleaner {
|
||||
|
||||
nonisolated(unsafe) static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CacheCleaner")
|
||||
static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CacheCleaner")
|
||||
|
||||
@MainActor static func purgeIfNecessary() {
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import Account
|
||||
|
||||
final class ExtensionFeedAddRequestFile: NSObject, NSFilePresenter, Sendable {
|
||||
|
||||
nonisolated(unsafe) private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "extensionFeedAddRequestFile")
|
||||
private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "extensionFeedAddRequestFile")
|
||||
|
||||
private static let filePath: String = {
|
||||
let appGroup = Bundle.main.object(forInfoDictionaryKey: "AppGroup") as! String
|
||||
|
||||
@@ -37,7 +37,7 @@ final class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationC
|
||||
}
|
||||
}
|
||||
|
||||
nonisolated(unsafe) let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
|
||||
var userNotificationManager: UserNotificationManager!
|
||||
var extensionContainersFile: ExtensionContainersFile!
|
||||
|
||||
@@ -11,7 +11,7 @@ import os.log
|
||||
|
||||
struct ErrorHandler {
|
||||
|
||||
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 static func present(_ viewController: UIViewController) -> @MainActor (Error) -> () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user