Fix various SwiftLint warnings.

This commit is contained in:
Brent Simmons committed 2026-01-01 17:25:02 -08:00
1 parent 609838236b
commit 50140acac2
12 files changed
+221 -214

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@ identifier_name:
# ignores_urls: true
large_tuple:
warning: 3
error: 4
warning: 4
error: 5
disabled_rules:
- todo
+2 -3
View File
@@ -6,10 +6,9 @@
// Copyright © 2025 Ranchero Software. All rights reserved.
//
final class LinkLabel: NSTextField {
class LinkLabel: NSTextField {
/// pièces de résistance -- keeping it a mac-assed mac app.
/// Les pièces de résistance — keeping it a Mac-assed Mac app.
override func resetCursorRects() {
addCursorRect(bounds, cursor: .pointingHand)
}
+4 -4
View File
@@ -10,7 +10,6 @@ import Foundation
import RSWeb
@MainActor struct Browser {
/// The user-specified default browser for opening web pages.
///
/// The user-assigned default browser, or `nil` if none was assigned
@@ -23,7 +22,6 @@ import RSWeb
return nil
}
/// Opens a URL in the default browser.
///
/// - Parameters:
@@ -52,9 +50,11 @@ import RSWeb
configuration.activates = false
}
NSWorkspace.shared.open(preparedURL, configuration: configuration) { (runningApplication, error) in
NSWorkspace.shared.open(preparedURL, configuration: configuration) { _, error in
Task { @MainActor in
guard error != nil else { return }
guard error != nil else {
return
}
if let defaultBrowser = defaultBrowser {
defaultBrowser.openURL(url, inBackground: inBackground)
} else {
+29 -29
View File
@@ -21,7 +21,7 @@ import RSCore
@objc(objectSpecifier)
nonisolated override var objectSpecifier: NSScriptObjectSpecifier? {
let myContainer = MainActor.assumeIsolated { NSApplication.shared }
return myContainer.makeFormUniqueIDScriptObjectSpecifier(forObject:self)
return myContainer.makeFormUniqueIDScriptObjectSpecifier(forObject: self)
}
@objc(scriptingIsActive)
@@ -68,7 +68,7 @@ import RSCore
func deleteElement(_ element:ScriptingObject) {
if let scriptableFolder = element as? ScriptableFolder {
BatchUpdate.shared.perform {
account.removeFolder(scriptableFolder.folder) { result in
account.removeFolder(scriptableFolder.folder) { _ in
}
}
} else if let scriptableFeed = element as? ScriptableFeed {
@@ -79,7 +79,7 @@ import RSCore
} else {
container = account
}
account.removeFeed(scriptableFeed.feed, from: container!) { result in
account.removeFeed(scriptableFeed.feed, from: container!) { _ in
}
}
}
@@ -151,17 +151,17 @@ import RSCore
}
@objc(valueInFoldersWithUniqueID:)
func valueInFolders(withUniqueID id:NSNumber) -> ScriptableFolder? {
let folderId = id.intValue
func valueInFolders(withUniqueID id:NSNumber) -> ScriptableFolder? {
let folderId = id.intValue
let foldersSet = account.folders ?? Set<Folder>()
let folders = Array(foldersSet)
guard let folder = folders.first(where:{$0.folderID == folderId}) else {
return nil
}
return ScriptableFolder(folder, container:self)
}
return ScriptableFolder(folder, container:self)
}
// MARK: --- Scriptable properties ---
// MARK: --- Scriptable properties ---
@objc(allFeeds)
var allFeeds: NSArray {
@@ -204,33 +204,33 @@ import RSCore
}
@objc(opmlRepresentation)
var opmlRepresentation:String {
var opmlRepresentation: String {
self.account.OPMLString(indentLevel:0)
}
@objc(accountType)
var accountType:OSType {
var osType:String = ""
switch self.account.type {
case .onMyMac:
osType = "Locl"
@objc(accountType)
var accountType: OSType {
var osType: String = ""
switch account.type {
case .onMyMac:
osType = "Locl"
case .cloudKit:
osType = "Clkt"
case .feedly:
osType = "Fdly"
case .feedbin:
osType = "Fdbn"
case .newsBlur:
osType = "NBlr"
osType = "Clkt"
case .feedly:
osType = "Fdly"
case .feedbin:
osType = "Fdbn"
case .newsBlur:
osType = "NBlr"
case .freshRSS:
osType = "Frsh"
osType = "Frsh"
case .inoreader:
osType = "Inrd"
osType = "Inrd"
case .bazQux:
osType = "Bzqx"
osType = "Bzqx"
case .theOldReader:
osType = "Tord"
}
return osType.fourCharCode
}
osType = "Tord"
}
return osType.fourCharCode
}
}
+59 -48
View File
@@ -13,11 +13,10 @@ import Articles
@objc(ScriptableFeed)
@MainActor final class ScriptableFeed: NSObject, UniqueIDScriptingObject, @preconcurrency ScriptingObjectContainer {
let feed: Feed
nonisolated(unsafe) let container: ScriptingObjectContainer
let feed:Feed
nonisolated(unsafe) let container:ScriptingObjectContainer
init (_ feed:Feed, container:ScriptingObjectContainer) {
init (_ feed: Feed, container: ScriptingObjectContainer) {
self.feed = feed
self.container = container
}
@@ -30,13 +29,13 @@ import Articles
@objc(scriptingSpecifierDescriptor)
func scriptingSpecifierDescriptor() -> NSScriptObjectSpecifier {
return (self.objectSpecifier ?? NSScriptObjectSpecifier() )
objectSpecifier ?? NSScriptObjectSpecifier()
}
// MARK: --- ScriptingObject protocol ---
nonisolated var scriptingKey: String {
return "feeds"
"feeds"
}
// MARK: --- UniqueIdScriptingObject protocol ---
@@ -44,14 +43,14 @@ import Articles
// I am not sure if account should prefer to be specified by name or by ID
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
@objc(uniqueId)
nonisolated var scriptingUniqueID:Any {
return feed.feedID
nonisolated var scriptingUniqueID: Any {
feed.feedID
}
// MARK: --- ScriptingObjectContainer protocol ---
nonisolated var scriptingClassDescription: NSScriptClassDescription {
return self.classDescription as! NSScriptClassDescription
classDescription as! NSScriptClassDescription
}
func deleteElement(_ element:ScriptingObject) {
@@ -59,8 +58,8 @@ import Articles
// MARK: --- handle NSCreateCommand ---
class func urlForNewFeed(arguments:[String:Any]) -> String? {
var url:String?
class func urlForNewFeed(arguments: [String:Any]) -> String? {
var url: String?
if let withDataParam = arguments["ObjectData"] {
if let objectDataDescriptor = withDataParam as? NSAppleEventDescriptor {
url = objectDataDescriptor.stringValue
@@ -71,22 +70,24 @@ import Articles
return url
}
class func scriptableFeed(_ feed:Feed, account:Account, folder:Folder?) -> ScriptableFeed {
class func scriptableFeed(_ feed: Feed, account: Account, folder: Folder?) -> ScriptableFeed {
let scriptableAccount = ScriptableAccount(account)
if let folder = folder {
let scriptableFolder = ScriptableFolder(folder, container:scriptableAccount)
return ScriptableFeed(feed, container:scriptableFolder)
let scriptableFolder = ScriptableFolder(folder, container: scriptableAccount)
return ScriptableFeed(feed, container: scriptableFolder)
} else {
return ScriptableFeed(feed, container:scriptableAccount)
return ScriptableFeed(feed, container: scriptableAccount)
}
}
class func scriptableFeed(for feed: Feed) -> ScriptableFeed? {
guard let account = feed.account else { return nil }
guard let account = feed.account else {
return nil
}
// Find the proper container hierarchy
let containers = account.existingContainers(withFeed: feed)
var folder: Folder? = nil
var folder: Folder?
// Check if feed is in a folder
for container in containers {
@@ -99,14 +100,21 @@ import Articles
return scriptableFeed(feed, account: account, folder: folder)
}
class func handleCreateElement(command:NSCreateCommand) -> Any? {
guard command.isCreateCommand(forClass:"Feed") else { return nil }
guard let arguments = command.arguments else {return nil}
let titleFromArgs = command.property(forKey:"name") as? String
let (account, folder) = command.accountAndFolderForNewChild()
guard let url = self.urlForNewFeed(arguments:arguments) else {return nil}
static func handleCreateElement(command: NSCreateCommand) -> Any? {
guard command.isCreateCommand(forClass:"Feed") else {
return nil
}
guard let arguments = command.arguments else {
return nil
}
if let existingFeed = account.existingFeed(withURL:url) {
let titleFromArgs = command.property(forKey: "name") as? String
let (account, folder) = command.accountAndFolderForNewChild()
guard let url = self.urlForNewFeed(arguments:arguments) else {
return nil
}
if let existingFeed = account.existingFeed(withURL: url) {
return scriptableFeed(existingFeed, account:account, folder:folder).objectSpecifier
}
@@ -124,10 +132,10 @@ import Articles
switch result {
case .success(let feed):
NotificationCenter.default.post(name: .UserDidAddFeed, object: self, userInfo: [UserInfoKey.feed: feed])
let scriptableFeed = self.scriptableFeed(feed, account:account, folder:folder)
command.resumeExecution(withResult:scriptableFeed.objectSpecifier)
let scriptableFeed = self.scriptableFeed(feed, account: account, folder: folder)
command.resumeExecution(withResult: scriptableFeed.objectSpecifier)
case .failure:
command.resumeExecution(withResult:nil)
command.resumeExecution(withResult: nil)
}
}
@@ -138,64 +146,67 @@ import Articles
// MARK: --- Scriptable properties ---
@objc(url)
var url:String {
return self.feed.url
var url: String {
feed.url
}
@objc(name)
var name:String {
return self.feed.name ?? ""
var name: String {
feed.name ?? ""
}
@objc(homePageURL)
var homePageURL:String {
return self.feed.homePageURL ?? ""
var homePageURL: String {
feed.homePageURL ?? ""
}
@objc(iconURL)
var iconURL:String {
return self.feed.iconURL ?? ""
var iconURL: String {
feed.iconURL ?? ""
}
@objc(faviconURL)
var faviconURL:String {
return self.feed.faviconURL ?? ""
var faviconURL: String {
feed.faviconURL ?? ""
}
@objc(opmlRepresentation)
var opmlRepresentation:String {
return self.feed.OPMLString(indentLevel:0)
var opmlRepresentation: String {
feed.OPMLString(indentLevel:0)
}
// MARK: --- scriptable elements ---
@objc(authors)
var authors:NSArray {
var authors: NSArray {
let feedAuthors = feed.authors ?? []
return feedAuthors.map { ScriptableAuthor($0, container:self) } as NSArray
}
@objc(valueInAuthorsWithUniqueID:)
func valueInAuthors(withUniqueID id:String) -> ScriptableAuthor? {
guard let author = feed.authors?.first(where:{$0.authorID == id}) else { return nil }
func valueInAuthors(withUniqueID id: String) -> ScriptableAuthor? {
guard let author = feed.authors?.first(where: {$0.authorID == id}) else {
return nil
}
return ScriptableAuthor(author, container:self)
}
@objc(articles)
var articles:NSArray {
var articles: NSArray {
let feedArticles = (try? feed.fetchArticles()) ?? Set<Article>()
// the articles are a set, use the sorting algorithm from the viewer
let sortedArticles = feedArticles.sorted(by:{
let sortedArticles = feedArticles.sorted(by: {
return $0.logicalDatePublished > $1.logicalDatePublished
})
return sortedArticles.map { ScriptableArticle($0, container:self) } as NSArray
}
@objc(valueInArticlesWithUniqueID:)
func valueInArticles(withUniqueID id:String) -> ScriptableArticle? {
func valueInArticles(withUniqueID id: String) -> ScriptableArticle? {
let articles = (try? feed.fetchArticles()) ?? Set<Article>()
guard let article = articles.first(where:{$0.uniqueID == id}) else { return nil }
return ScriptableArticle(article, container:self)
guard let article = articles.first(where: {$0.uniqueID == id}) else {
return nil
}
return ScriptableArticle(article, container: self)
}
}
+104 -102
View File
@@ -13,69 +13,70 @@ import RSCore
@objc(ScriptableFolder)
@MainActor final class ScriptableFolder: NSObject, UniqueIDScriptingObject, @preconcurrency ScriptingObjectContainer {
let folder: Folder
nonisolated(unsafe) let container: ScriptingObjectContainer
let folder:Folder
nonisolated(unsafe) let container:ScriptingObjectContainer
init (_ folder:Folder, container: ScriptingObjectContainer) {
self.folder = folder
self.container = container
}
init (_ folder:Folder, container:ScriptingObjectContainer) {
self.folder = folder
self.container = container
}
@objc(objectSpecifier)
nonisolated override var objectSpecifier: NSScriptObjectSpecifier? {
let scriptObjectSpecifier = self.container.makeFormUniqueIDScriptObjectSpecifier(forObject: self)
return scriptObjectSpecifier
}
@objc(objectSpecifier)
nonisolated override var objectSpecifier: NSScriptObjectSpecifier? {
let scriptObjectSpecifier = self.container.makeFormUniqueIDScriptObjectSpecifier(forObject:self)
return scriptObjectSpecifier
}
// MARK: --- ScriptingObject protocol ---
// MARK: --- ScriptingObject protocol ---
nonisolated var scriptingKey: String {
"folders"
}
nonisolated var scriptingKey: String {
return "folders"
}
// MARK: --- UniqueIdScriptingObject protocol ---
// MARK: --- UniqueIdScriptingObject protocol ---
// I am not sure if account should prefer to be specified by name or by ID
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
// I am not sure if account should prefer to be specified by name or by ID
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
@objc(uniqueId)
nonisolated var scriptingUniqueID:Any {
folder.folderID
}
@objc(uniqueId)
nonisolated var scriptingUniqueID:Any {
return folder.folderID
}
// MARK: --- ScriptingObjectContainer protocol ---
// MARK: --- ScriptingObjectContainer protocol ---
nonisolated var scriptingClassDescription: NSScriptClassDescription {
self.classDescription as! NSScriptClassDescription
}
nonisolated var scriptingClassDescription: NSScriptClassDescription {
return self.classDescription as! NSScriptClassDescription
}
func deleteElement(_ element: ScriptingObject) {
if let scriptableFeed = element as? ScriptableFeed {
BatchUpdate.shared.perform {
folder.account?.removeFeed(scriptableFeed.feed, from: folder) { _ in }
}
}
}
func deleteElement(_ element:ScriptingObject) {
if let scriptableFeed = element as? ScriptableFeed {
BatchUpdate.shared.perform {
folder.account?.removeFeed(scriptableFeed.feed, from: folder) { result in }
}
}
}
// MARK: - handle NSCreateCommand
/*
handle an AppleScript like
make new folder in account X with properties {name:"new folder name"}
or
tell account X to make new folder at end with properties {name:"new folder name"}
*/
class func handleCreateElement(command: NSCreateCommand) -> Any? {
guard command.isCreateCommand(forClass: "fold") else {
return nil
}
let name = command.property(forKey: "name") as? String ?? ""
// MARK: --- handle NSCreateCommand ---
/*
handle an AppleScript like
make new folder in account X with properties {name:"new folder name"}
or
tell account X to make new folder at end with properties {name:"new folder name"}
*/
class func handleCreateElement(command:NSCreateCommand) -> Any? {
guard command.isCreateCommand(forClass: "fold") else { return nil }
let name = command.property(forKey: "name") as? String ?? ""
// some combination of the tell target and the location specifier ("in" or "at")
// identifies where the new folder should be created
let (account, folder) = command.accountAndFolderForNewChild()
guard folder == nil else {
print("support for folders within folders is NYI");
return nil
}
// some combination of the tell target and the location specifier ("in" or "at")
// identifies where the new folder should be created
let (account, folder) = command.accountAndFolderForNewChild()
guard folder == nil else {
print("support for folders within folders is NYI");
return nil
}
command.suspendExecution()
@@ -84,68 +85,69 @@ import RSCore
let folder = try await account.addFolder(name)
let scriptableAccount = ScriptableAccount(account)
let scriptableFolder = ScriptableFolder(folder, container: scriptableAccount)
command.resumeExecution(withResult:scriptableFolder.objectSpecifier)
command.resumeExecution(withResult: scriptableFolder.objectSpecifier)
} catch {
command.resumeExecution(withResult:nil)
command.resumeExecution(withResult: nil)
}
}
return nil
}
return nil
}
// MARK: --- Scriptable elements ---
// MARK: --- Scriptable elements ---
@objc(feeds)
var feeds:NSArray {
@objc(feeds)
var feeds: NSArray {
let feeds = Array(folder.topLevelFeeds)
return feeds.map { ScriptableFeed($0, container:self) } as NSArray
}
return feeds.map { ScriptableFeed($0, container: self) } as NSArray
}
@objc(articles)
var articles:NSArray {
let feeds = Array(folder.topLevelFeeds)
let allArticles = feeds.flatMap { feed in
(try? feed.fetchArticles()) ?? Set<Article>()
}
// Sort articles by logical date published like Feed does
let sortedArticles = allArticles.sorted(by: {
return $0.logicalDatePublished > $1.logicalDatePublished
})
return sortedArticles.map { ScriptableArticle($0, container:self) } as NSArray
}
@objc(articles)
var articles: NSArray {
let feeds = Array(folder.topLevelFeeds)
let allArticles = feeds.flatMap { feed in
(try? feed.fetchArticles()) ?? Set<Article>()
}
// Sort articles by logical date published like Feed does
let sortedArticles = allArticles.sorted(by: {
$0.logicalDatePublished > $1.logicalDatePublished
})
return sortedArticles.map { ScriptableArticle($0, container:self) } as NSArray
}
@objc(countOfArticles)
func countOfArticles() -> Int {
let feeds = Array(folder.topLevelFeeds)
return feeds.reduce(0) { count, feed in
let feedArticles = (try? feed.fetchArticles()) ?? Set<Article>()
return count + feedArticles.count
}
}
@objc(countOfArticles)
func countOfArticles() -> Int {
let feeds = Array(folder.topLevelFeeds)
return feeds.reduce(0) { count, feed in
let feedArticles = (try? feed.fetchArticles()) ?? Set<Article>()
return count + feedArticles.count
}
}
@objc(objectInArticlesAtIndex:)
func objectInArticlesAtIndex(_ index: Int) -> ScriptableArticle? {
let feeds = Array(folder.topLevelFeeds)
let allArticles = feeds.flatMap { feed in
(try? feed.fetchArticles()) ?? Set<Article>()
}
let sortedArticles = allArticles.sorted(by: {
return $0.logicalDatePublished > $1.logicalDatePublished
})
guard index >= 0 && index < sortedArticles.count else { return nil }
return ScriptableArticle(sortedArticles[index], container: self)
}
@objc(objectInArticlesAtIndex:)
func objectInArticlesAtIndex(_ index: Int) -> ScriptableArticle? {
let feeds = Array(folder.topLevelFeeds)
let allArticles = feeds.flatMap { feed in
(try? feed.fetchArticles()) ?? Set<Article>()
}
let sortedArticles = allArticles.sorted(by: {
return $0.logicalDatePublished > $1.logicalDatePublished
})
guard index >= 0 && index < sortedArticles.count else {
return nil
}
return ScriptableArticle(sortedArticles[index], container: self)
}
// MARK: --- Scriptable properties ---
// MARK: - Scriptable properties
@objc(name)
var name:String {
return self.folder.name ?? ""
}
@objc(opmlRepresentation)
var opmlRepresentation:String {
return self.folder.OPMLString(indentLevel:0)
}
@objc(name)
var name:String {
folder.name ?? ""
}
@objc(opmlRepresentation)
var opmlRepresentation:String {
folder.OPMLString(indentLevel:0)
}
}
@@ -133,7 +133,7 @@ enum CreateSubscriptionResult {
if suspended {
throw TransportError.suspended
}
var callComponents = URLComponents(url: feedbinBaseURL.appendingPathComponent("subscriptions.json"), resolvingAgainstBaseURL: false)!
callComponents.queryItems = [URLQueryItem(name: "mode", value: "extended")]
@@ -67,7 +67,7 @@ public enum FeedbinAccountDelegateError: String, Error, Sendable {
}
}
func receiveRemoteNotification(for account: Account, userInfo: [AnyHashable : Any]) async {
func receiveRemoteNotification(for account: Account, userInfo: [AnyHashable: Any]) async {
}
func refreshAll(for account: Account) async throws {
@@ -542,8 +542,7 @@ private extension FeedbinAccountDelegate {
feed.externalID = String(subscription.subscriptionID)
feed.faviconURL = subscription.jsonFeed?.favicon
feed.iconURL = subscription.jsonFeed?.icon
}
else {
} else {
subscriptionsToAdd.insert(subscription)
}
}
@@ -690,7 +689,7 @@ private extension FeedbinAccountDelegate {
let feedSpecifiers: [FeedSpecifier] = choices.map { choice in
let source = url == choice.url ? FeedSpecifier.Source.userEntered : FeedSpecifier.Source.HTMLLink
orderFound = orderFound + 1
orderFound += 1
let specifier = FeedSpecifier(title: choice.name, urlString: choice.url, source: source, orderFound: orderFound)
return specifier
}
@@ -849,7 +848,7 @@ private extension FeedbinAccountDelegate {
guard let articleIDs else {
return
}
do {
guard let pendingArticleIDs = try? await syncDatabase.selectPendingStarredStatusArticleIDs() else {
return
@@ -99,7 +99,7 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
self.variant = variant
}
func receiveRemoteNotification(for account: Account, userInfo: [AnyHashable : Any]) async {
func receiveRemoteNotification(for account: Account, userInfo: [AnyHashable: Any]) async {
}
func refreshAll(for account: Account) async throws {
@@ -204,7 +204,6 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
}
}
@MainActor func importOPML(for account: Account, opmlFile: URL) async throws {
}
@@ -314,7 +313,6 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
}
}
func renameFeed(for account: Account, with feed: Feed, to name: String) async throws {
// This error should never happen
@@ -413,8 +411,7 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
if let existingFeed = account.existingFeed(withURL: feed.url) {
try await account.addFeed(existingFeed, container: container)
}
else {
} else {
try await createFeed(for: account, url: feed.url, name: feed.editedName, container: container, validateFeed: true)
}
}
@@ -672,7 +669,6 @@ private extension ReaderAPIAccountDelegate {
}
func sendArticleStatuses(_ statuses: Set<SyncStatus>, apiCall: ([String]) async throws -> Void) async {
guard !statuses.isEmpty else {
return
}
@@ -682,7 +678,7 @@ private extension ReaderAPIAccountDelegate {
for articleIDGroup in articleIDGroups {
do {
let _ = try await apiCall(articleIDGroup)
_ = try await apiCall(articleIDGroup)
try? await syncDatabase.deleteSelectedForProcessing(Set(articleIDGroup))
} catch {
Self.logger.error("ReaderAPI: Article status sync call failed: \(error.localizedDescription)")
@@ -382,7 +382,7 @@ enum CreateReaderAPISubscriptionResult {
let idHexString = String(idValue, radix: 16, uppercase: false)
return "i=tag:google.com,2005:reader/item/\(idHexString)"
}
}).joined(separator:"&")
}).joined(separator: "&")
let postData = "T=\(token)&output=json&\(idsToFetch)".data(using: String.Encoding.utf8)
@@ -553,7 +553,7 @@ private extension ReaderAPICaller {
let idHexString = String(format: "%.16llx", intValue)
return "i=tag:google.com,2005:reader/item/\(idHexString)"
}
}).joined(separator:"&")
}).joined(separator: "&")
let actionIndicator = add ? "a" : "r"
@@ -106,7 +106,7 @@ struct ReaderAPIArticleSummary: Codable, Sendable {
let content: String?
enum CodingKeys: String, CodingKey {
case content = "content"
case content
}
}
@@ -168,16 +168,16 @@ final class String_RSCore: XCTestCase {
self.measure {
for _ in 0..<1000 {
let _ = s1.md5String
let _ = s2.md5String
let _ = s3.md5String
let _ = s4.md5String
let _ = s5.md5String
let _ = s6.md5String
let _ = s7.md5String
let _ = s8.md5String
let _ = s9.md5String
let _ = s10.md5String
_ = s1.md5String
_ = s2.md5String
_ = s3.md5String
_ = s4.md5String
_ = s5.md5String
_ = s6.md5String
_ = s7.md5String
_ = s8.md5String
_ = s9.md5String
_ = s10.md5String
}
}
}