This differential implements public method to initialize (generate if not exists and persist new) notifications olm account. Account generation follows the same semantics as public olm account generation in CommCoreModule. If the account already exists it will ne be re-created.
Atomic and fault-tolerant implementation of private serializeAndFlush method guarantees that if the file exists it is created correctly.
Details
Details
Call this method in CommCoreModule.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Atomic and fault-tolerant implementation of private serializeAndFlush method guarantees that if the file exists it is created correctly.
I'm probably too picky, but could it be replaced in the meantime by any 3rd party?
Besides that, LGTM ;)
Comment Actions
I am not sure what do you refer to here. Do you mean whether it is possible that 3rd party library will write to this file? Or 3rd party application?
Comment Actions
I am not sure what do you refer to here. Do you mean whether it is possible that 3rd party library will write to this file? Or 3rd party application?
Never mind, I meant some malicious code, but my concern is probably out of scope