Skip to content

Commit ec7f926

Browse files
authored
fix: "mutability" throughout the code (#15473)
1 parent e1cb63b commit ec7f926

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import Foundation
2323
/// Facilitates communication with the backend for a ``LiveSession``.
2424
///
2525
/// Using an actor will make it easier to adopt session resumption, as we have an isolated place for
26-
/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid
26+
/// maintaining mutability, which is backed by Swift concurrency implicitly; allowing us to avoid
2727
/// various edge-case issues with dead-locks and data races.
2828
///
2929
/// This mainly comes into play when we don't want to block developers from sending messages while a

FirebasePerformance/Tests/Unit/FIRPerformanceTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ - (void)testReadingAttributesFromProperty {
118118
}
119119

120120
/** Validates if attributes property is immutable. */
121-
- (void)testImmutablityOfAttributesProperty {
121+
- (void)testImmutabilityOfAttributesProperty {
122122
[self.performance setValue:@"bar" forAttribute:@"foo"];
123123
NSMutableDictionary<NSString *, NSString *> *attributes =
124124
(NSMutableDictionary<NSString *, NSString *> *)self.performance.attributes;

FirebasePerformance/Tests/Unit/Instruments/FIRHTTPMetricTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ - (void)testReadingAttributesFromProperty {
283283
}
284284

285285
/** Validates if attributes property is immutable. */
286-
- (void)testImmutablityOfAttributesProperty {
286+
- (void)testImmutabilityOfAttributesProperty {
287287
FIRHTTPMetric *metric = [[FIRHTTPMetric alloc] initWithURL:self.sampleURL
288288
HTTPMethod:FIRHTTPMethodGET];
289289
[metric setValue:@"bar" forAttribute:@"foo"];

FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ - (void)testReadingAttributesFromProperty {
612612
}
613613

614614
/** Validates if attributes property is immutable. */
615-
- (void)testImmutablityOfAttributesProperty {
615+
- (void)testImmutabilityOfAttributesProperty {
616616
FIRTrace *trace = [[FIRTrace alloc] initWithName:@"Random"];
617617
[trace setValue:@"bar" forAttribute:@"foo"];
618618
NSMutableDictionary<NSString *, NSString *> *attributes =

0 commit comments

Comments
 (0)