refactoring

This commit is contained in:
YevhenBondarenko 2021-10-27 17:09:41 +03:00
parent dda06bd0a1
commit b84c6abd10
2 changed files with 3 additions and 6 deletions

View File

@ -112,10 +112,6 @@ public class LwM2mSessionMsgListener implements GenericFutureListener<Future<? s
@Override
public void onDeviceDeleted(DeviceId deviceId) {
log.trace("[{}] Device on delete", deviceId);
try{
this.handler.onDeviceDelete(deviceId);
} catch (Exception e) {
log.error("", e);
}
this.handler.onDeviceDelete(deviceId);
}
}

View File

@ -160,7 +160,8 @@ public class DefaultLwM2MUplinkMsgHandler extends LwM2MExecutorAwareService impl
LwM2mTransportContext context,
TbLwM2MDtlsSessionStore sessionStore,
LwM2mVersionedModelProvider modelProvider,
RegistrationStore registrationStore, TbLwM2mSecurityStore securityStore) {
RegistrationStore registrationStore,
TbLwM2mSecurityStore securityStore) {
this.transportService = transportService;
this.sessionManager = sessionManager;
this.attributesService = attributesService;