From ffedaed448bcd2ba9a721527644dfcf198294017 Mon Sep 17 00:00:00 2001 From: Takumi Muraishi Date: Sun, 14 Apr 2024 05:34:36 +0900 Subject: [PATCH] Fix typos (#12783) --- FirebaseAnalytics/README.md | 2 +- FirebaseAppDistribution/Sources/FIRFADApiService.h | 2 +- FirebaseAppDistributionInternal/Sources/ApiService.swift | 6 +++--- FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h | 2 +- .../Sources/FIRDynamicLinkNetworking+Private.h | 2 +- FirebaseDynamicLinks/Sources/FIRDynamicLinks.m | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/FirebaseAnalytics/README.md b/FirebaseAnalytics/README.md index 060e06d6cc6..a4df212b27a 100644 --- a/FirebaseAnalytics/README.md +++ b/FirebaseAnalytics/README.md @@ -1,2 +1,2 @@ This directory open sources select files from the Firebase Analytics SDK. Note -that there is no open source infastructure to build or package them. +that there is no open source infrastructure to build or package them. diff --git a/FirebaseAppDistribution/Sources/FIRFADApiService.h b/FirebaseAppDistribution/Sources/FIRFADApiService.h index 9162ea47ff8..b14ad4d27b2 100644 --- a/FirebaseAppDistribution/Sources/FIRFADApiService.h +++ b/FirebaseAppDistribution/Sources/FIRFADApiService.h @@ -50,7 +50,7 @@ typedef void (^FIRFADGenerateAuthTokenCompletion)( // Label exceptions from AppDistributionApi calls. FOUNDATION_EXPORT NSString *const kFIRFADApiErrorDomain; -// A service encapsulating calls to the App Distribtuion Tester API +// A service encapsulating calls to the App Distribution Tester API @interface FIRFADApiService : NSObject // Fetch releases from the AppDistribution Tester API diff --git a/FirebaseAppDistributionInternal/Sources/ApiService.swift b/FirebaseAppDistributionInternal/Sources/ApiService.swift index 760062be4d9..9aa59ede3ea 100644 --- a/FirebaseAppDistributionInternal/Sources/ApiService.swift +++ b/FirebaseAppDistributionInternal/Sources/ApiService.swift @@ -537,7 +537,7 @@ struct FeedbackReport: Codable { do { return try JSONDecoder().decode(T.self, from: data) } catch let thrownError { - handleApiParserErorr(thrownError, &error) + handleApiParserError(thrownError, &error) return nil } } @@ -558,12 +558,12 @@ struct FeedbackReport: Codable { options: JSONSerialization.ReadingOptions(rawValue: 0) ) as? T } catch let thrownError { - handleApiParserErorr(thrownError, &error) + handleApiParserError(thrownError, &error) return nil } } - static func handleApiParserErorr(_ thrownError: Error, _ error: inout Error?) { + static func handleApiParserError(_ thrownError: Error, _ error: inout Error?) { let description: String = (thrownError as NSError) .userInfo[NSLocalizedDescriptionKey] as? String ?? "Failed to parse response" error = thrownError diff --git a/FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h b/FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h index d19c6fb9f7d..f51200cfdcd 100644 --- a/FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h +++ b/FirebaseDatabase/Sources/Core/View/Filter/FNodeFilter.h @@ -59,7 +59,7 @@ forNode:(FIndexedNode *)oldSnap; /** - * Returns true if children might be filtered due to query critiera + * Returns true if children might be filtered due to query criteria */ - (BOOL)filtersNodes; diff --git a/FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking+Private.h b/FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking+Private.h index dcb7e6b901d..8a41ccfbd91 100644 --- a/FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking+Private.h +++ b/FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking+Private.h @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN /** The key for the DL URL. */ FOUNDATION_EXPORT NSString *const kFDLResolvedLinkDeepLinkURLKey; -/** The key for the mininum iOS app version. */ +/** The key for the minimum iOS app version. */ FOUNDATION_EXPORT NSString *const kFDLResolvedLinkMinAppVersionKey; // Private interface for testing. diff --git a/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m b/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m index d6f9454dd5c..0ea1f2921c4 100644 --- a/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m +++ b/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m @@ -698,7 +698,7 @@ + (NSString *)diagnosticAnalyzeEntitlements { NSDictionary *plistMap = (NSDictionary *)plistData; // analyze entitlements and print diagnostic information - // we can't detect erorrs, information p[rinted here may hint developer or will help support + // we can't detect errors, information p[rinted here may hint developer or will help support // to identify the issue NSMutableString *outputString = [[NSMutableString alloc] init];