From 6ad33dd7cfc3b1eaa0c0f4413c57705046604aec Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 14:58:13 +0330 Subject: [PATCH 1/2] docs: fix "mutability" in comments # Conflicts: # FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift --- FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 1cc9f5e1be0..05ec6918cc5 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -23,7 +23,7 @@ import Foundation /// Facilitates communication with the backend for a ``LiveSession``. /// /// Using an actor will make it easier to adopt session resumption, as we have an isolated place for -/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid +/// maintaining mutability, which is backed by Swift concurrency implicitly; allowing us to avoid /// various edge-case issues with dead-locks and data races. /// /// This mainly comes into play when we don't want to block developers from sending messages while a From 6b0f3546cf6f26723c676a2224c0a2c79e2845c8 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 14:52:29 +0330 Subject: [PATCH 2/2] test: fix "immutability" spelling --- FirebasePerformance/Tests/Unit/FIRPerformanceTest.m | 2 +- FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m | 2 +- FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FirebasePerformance/Tests/Unit/FIRPerformanceTest.m b/FirebasePerformance/Tests/Unit/FIRPerformanceTest.m index 947311e4544..3dedf81bfc9 100644 --- a/FirebasePerformance/Tests/Unit/FIRPerformanceTest.m +++ b/FirebasePerformance/Tests/Unit/FIRPerformanceTest.m @@ -118,7 +118,7 @@ - (void)testReadingAttributesFromProperty { } /** Validates if attributes property is immutable. */ -- (void)testImmutablityOfAttributesProperty { +- (void)testImmutabilityOfAttributesProperty { [self.performance setValue:@"bar" forAttribute:@"foo"]; NSMutableDictionary *attributes = (NSMutableDictionary *)self.performance.attributes; diff --git a/FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m b/FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m index c837c477a44..e59e7c0e02a 100644 --- a/FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m +++ b/FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m @@ -283,7 +283,7 @@ - (void)testReadingAttributesFromProperty { } /** Validates if attributes property is immutable. */ -- (void)testImmutablityOfAttributesProperty { +- (void)testImmutabilityOfAttributesProperty { FIRHTTPMetric *metric = [[FIRHTTPMetric alloc] initWithURL:self.sampleURL HTTPMethod:FIRHTTPMethodGET]; [metric setValue:@"bar" forAttribute:@"foo"]; diff --git a/FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m b/FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m index 39a389fdb3b..f2c2608d9dc 100644 --- a/FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m +++ b/FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m @@ -612,7 +612,7 @@ - (void)testReadingAttributesFromProperty { } /** Validates if attributes property is immutable. */ -- (void)testImmutablityOfAttributesProperty { +- (void)testImmutabilityOfAttributesProperty { FIRTrace *trace = [[FIRTrace alloc] initWithName:@"Random"]; [trace setValue:@"bar" forAttribute:@"foo"]; NSMutableDictionary *attributes =