File tree Expand file tree Collapse file tree
dConnectDevicePlugin/dConnectDeviceIRKit/dConnectDeviceIRKit/Classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ - (void) dealloc {
137137
138138- (DPIRKitDevice *) deviceForServiceId : (NSString *)serviceId {
139139 @synchronized (_devices) {
140- return [ _devices objectForKey: serviceId];
140+ return _devices[ serviceId];
141141 }
142142}
143143
@@ -425,7 +425,7 @@ - (DConnectServiceInformationProfileConnectState) profile:(DConnectServiceInform
425425 DConnectServiceInformationProfileConnectState state = DConnectServiceInformationProfileConnectStateOff;
426426 @synchronized (_devices) {
427427 if (_devices.count > 0 ) {
428- DPIRKitDevice *device = [ _devices objectForKey: serviceId];
428+ DPIRKitDevice *device = _devices[ serviceId];
429429 if (device) {
430430 state = DConnectServiceInformationProfileConnectStateOn;
431431 }
You can’t perform that action at this time.
0 commit comments