lwm2m: fix bugs in PR commits
This commit is contained in:
parent
29a551d048
commit
ecc9f8fe38
@ -72,7 +72,7 @@ public class LwM2MTransportBootstrapService {
|
|||||||
server.destroy();
|
server.destroy();
|
||||||
log.info("LwM2M transport bootstrap server stopped!");
|
log.info("LwM2M transport bootstrap server stopped!");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("", e);
|
log.error("Failed to gracefully stop the LwM2M transport bootstrap server!", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -178,7 +178,7 @@ public class LwM2MBootstrapConfigStoreTaskProvider implements BootstrapTaskProvi
|
|||||||
serverInstances.put(shortId, instance.getId());
|
serverInstances.put(shortId, instance.getId());
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("", e);
|
log.error("Failed find Server Instance Id. ", e);
|
||||||
}
|
}
|
||||||
if (this.securityInstances != null && this.securityInstances.size() > 0 && this.serverInstances != null && this.serverInstances.size() > 0) {
|
if (this.securityInstances != null && this.securityInstances.size() > 0 && this.serverInstances != null && this.serverInstances.size() > 0) {
|
||||||
this.findBootstrapServerId();
|
this.findBootstrapServerId();
|
||||||
|
|||||||
@ -104,7 +104,7 @@ public class DefaultLwM2mTransportService implements LwM2MTransportService {
|
|||||||
server.destroy();
|
server.destroy();
|
||||||
log.info("LwM2M transport server stopped!");
|
log.info("LwM2M transport server stopped!");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("", e);
|
log.error("Failed to gracefully stop the LwM2M transport server!", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user