summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kinney <michaelakinney@comcast.net>2021-02-23 12:00:14 -0500
committerMichael Kinney <michaelakinney@comcast.net>2021-02-23 12:00:14 -0500
commit701517cdb711a89739dec1d4cccc83c59dc76526 (patch)
treeb0b68178429f9c96f6a6ccd3e0563ce8860a6bb1
parente02a4f4419f876d943a9075435319b7818e668d4 (diff)
downloadsdl_ios-701517cdb711a89739dec1d4cccc83c59dc76526.tar.gz
update per style requirements and remove unused function
-rw-r--r--SmartDeviceLink/private/SDLIAPTransport.m14
1 files changed, 2 insertions, 12 deletions
diff --git a/SmartDeviceLink/private/SDLIAPTransport.m b/SmartDeviceLink/private/SDLIAPTransport.m
index 703befba2..58a77211d 100644
--- a/SmartDeviceLink/private/SDLIAPTransport.m
+++ b/SmartDeviceLink/private/SDLIAPTransport.m
@@ -56,7 +56,7 @@ int const CreateSessionRetries = 3;
return self;
}
-- (void) dealloc {
+- (void)dealloc {
SDLLogV(@"SDLIAPTransport dealloc executed");
if (self.dataSession != nil) {
[self.dataSession closeSession];
@@ -235,16 +235,6 @@ int const CreateSessionRetries = 3;
[self sdl_closeSessions:disconnectCompletionHandler];
}
-- (EAAccessory * _Nullable)accessory {
- if (self.controlSession.accessory != nil) {
- return self.controlSession.accessory;
- }
- if (self.dataSession.accessory != nil) {
- return self.dataSession.accessory;
- }
- return nil;
-}
-
#pragma mark Helpers
/**
@@ -386,7 +376,7 @@ int const CreateSessionRetries = 3;
/**
* Called when the data session should be retried.
*/
-- (void) dataSessionDidEnd{
+- (void)dataSessionDidEnd{
SDLLogV(@"Retrying the data session");
[self sdl_retryEstablishSession];
}