Commit b84c6abd10141c389f5657cb0c86f6498509d8a8

Authored by YevhenBondarenko
1 parent dda06bd0

refactoring

@@ -112,10 +112,6 @@ public class LwM2mSessionMsgListener implements GenericFutureListener<Future<? s @@ -112,10 +112,6 @@ public class LwM2mSessionMsgListener implements GenericFutureListener<Future<? s
112 @Override 112 @Override
113 public void onDeviceDeleted(DeviceId deviceId) { 113 public void onDeviceDeleted(DeviceId deviceId) {
114 log.trace("[{}] Device on delete", deviceId); 114 log.trace("[{}] Device on delete", deviceId);
115 - try{  
116 - this.handler.onDeviceDelete(deviceId);  
117 - } catch (Exception e) {  
118 - log.error("", e);  
119 - } 115 + this.handler.onDeviceDelete(deviceId);
120 } 116 }
121 } 117 }
@@ -160,7 +160,8 @@ public class DefaultLwM2MUplinkMsgHandler extends LwM2MExecutorAwareService impl @@ -160,7 +160,8 @@ public class DefaultLwM2MUplinkMsgHandler extends LwM2MExecutorAwareService impl
160 LwM2mTransportContext context, 160 LwM2mTransportContext context,
161 TbLwM2MDtlsSessionStore sessionStore, 161 TbLwM2MDtlsSessionStore sessionStore,
162 LwM2mVersionedModelProvider modelProvider, 162 LwM2mVersionedModelProvider modelProvider,
163 - RegistrationStore registrationStore, TbLwM2mSecurityStore securityStore) { 163 + RegistrationStore registrationStore,
  164 + TbLwM2mSecurityStore securityStore) {
164 this.transportService = transportService; 165 this.transportService = transportService;
165 this.sessionManager = sessionManager; 166 this.sessionManager = sessionManager;
166 this.attributesService = attributesService; 167 this.attributesService = attributesService;