Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit 14246b0

Browse files
author
Vikas Dadheech
committed
Resolve review comments
1 parent 8abff6c commit 14246b0

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

MSGraphClientSDK/MSGraphClientSDK/Middleware/Implementations/RedirectHandler/MSRedirectHandler.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ @implementation MSRedirectHandler
2424

2525
- (instancetype)init
2626
{
27-
self = [super init];
28-
if(self)
29-
{
30-
_redirectHandlerOptions = [[MSRedirectHandlerOptions alloc] init];
31-
}
32-
return self;
27+
return [self initWithOptions:[[MSRedirectHandlerOptions alloc] init]];
3328
}
3429

3530
- (instancetype)initWithOptions:(MSRedirectHandlerOptions *)redirectHandlerOptions

MSGraphClientSDK/MSGraphClientSDK/Middleware/Implementations/RetryHandler/MSRetryHandler.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ @implementation MSRetryHandler
2828

2929
- (instancetype)init
3030
{
31-
self = [super init];
32-
if(self)
33-
{
34-
_retryHandlerOptions = [[MSRetryHandlerOptions alloc] init];
35-
}
36-
return self;
31+
return [self initWithOptions:[[MSRetryHandlerOptions alloc] init]];
3732
}
3833

3934
- (instancetype)initWithOptions:(MSRetryHandlerOptions *)retryHandlerOptions

0 commit comments

Comments
 (0)