Skip to content

Commit 189b629

Browse files
authored
fix: typo adress -> address (#3102)
1 parent b385962 commit 189b629

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

Sources/Sentry/SentryDebugImageProvider.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ - (void)extractDebugImageAddressFromFrames:(NSArray<SentryFrame *> *)frames
7373
- (NSArray<SentryDebugMeta *> *)getDebugImagesForFrames:(NSArray<SentryFrame *> *)frames
7474
isCrash:(BOOL)isCrash
7575
{
76-
NSMutableSet<NSString *> *imageAdresses = [[NSMutableSet alloc] init];
77-
[self extractDebugImageAddressFromFrames:frames intoSet:imageAdresses];
78-
return [self getDebugImagesForAddresses:imageAdresses isCrash:isCrash];
76+
NSMutableSet<NSString *> *imageAddresses = [[NSMutableSet alloc] init];
77+
[self extractDebugImageAddressFromFrames:frames intoSet:imageAddresses];
78+
return [self getDebugImagesForAddresses:imageAddresses isCrash:isCrash];
7979
}
8080

8181
- (NSArray<SentryDebugMeta *> *)getDebugImagesForThreads:(NSArray<SentryThread *> *)threads
@@ -87,13 +87,13 @@ - (void)extractDebugImageAddressFromFrames:(NSArray<SentryFrame *> *)frames
8787
- (NSArray<SentryDebugMeta *> *)getDebugImagesForThreads:(NSArray<SentryThread *> *)threads
8888
isCrash:(BOOL)isCrash
8989
{
90-
NSMutableSet<NSString *> *imageAdresses = [[NSMutableSet alloc] init];
90+
NSMutableSet<NSString *> *imageAddresses = [[NSMutableSet alloc] init];
9191

9292
for (SentryThread *thread in threads) {
93-
[self extractDebugImageAddressFromFrames:thread.stacktrace.frames intoSet:imageAdresses];
93+
[self extractDebugImageAddressFromFrames:thread.stacktrace.frames intoSet:imageAddresses];
9494
}
9595

96-
return [self getDebugImagesForAddresses:imageAdresses isCrash:isCrash];
96+
return [self getDebugImagesForAddresses:imageAddresses isCrash:isCrash];
9797
}
9898

9999
- (NSArray<SentryDebugMeta *> *)getDebugImages

Sources/Sentry/SentryUser.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ - (BOOL)isEqualToUser:(SentryUser *)user
136136
return NO;
137137
}
138138

139-
NSString *otherIpAdress = user.ipAddress;
140-
if (self.ipAddress != otherIpAdress && ![self.ipAddress isEqualToString:otherIpAdress]) {
139+
NSString *otherIpAddress = user.ipAddress;
140+
if (self.ipAddress != otherIpAddress && ![self.ipAddress isEqualToString:otherIpAddress]) {
141141
return NO;
142142
}
143143

Tests/Resources/fatal-error-notable-adresses.json renamed to Tests/Resources/fatal-error-notable-addresses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3125,4 +3125,4 @@
31253125
"tags": {}
31263126
},
31273127
"debug": {}
3128-
}
3128+
}

Tests/SentryTests/SentryKSCrashReportConverterTests.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ - (void)testNewNSException
282282

283283
- (void)testFatalError
284284
{
285-
[self isValidReport:@"Resources/fatal-error-notable-adresses"];
286-
NSDictionary *rawCrash = [self getCrashReport:@"Resources/fatal-error-notable-adresses"];
285+
[self isValidReport:@"Resources/fatal-error-notable-addresses"];
286+
NSDictionary *rawCrash = [self getCrashReport:@"Resources/fatal-error-notable-addresses"];
287287
SentryCrashReportConverter *reportConverter =
288288
[[SentryCrashReportConverter alloc] initWithReport:rawCrash inAppLogic:self.inAppLogic];
289289
SentryEvent *event = [reportConverter convertReportToEvent];
@@ -327,8 +327,8 @@ - (void)testFatalErrorBinary:(NSString *)reportPath expectedValue:(NSString *)ex
327327

328328
- (void)testUserInfo
329329
{
330-
[self isValidReport:@"Resources/fatal-error-notable-adresses"];
331-
NSDictionary *rawCrash = [self getCrashReport:@"Resources/fatal-error-notable-adresses"];
330+
[self isValidReport:@"Resources/fatal-error-notable-addresses"];
331+
NSDictionary *rawCrash = [self getCrashReport:@"Resources/fatal-error-notable-addresses"];
332332
SentryCrashReportConverter *reportConverter =
333333
[[SentryCrashReportConverter alloc] initWithReport:rawCrash inAppLogic:self.inAppLogic];
334334
reportConverter.userContext = @{

0 commit comments

Comments
 (0)