Improvements to Saving #152

Merged
SenseiKiwi merged 2 commits from master into master 2014-04-12 01:20:54 +00:00
SenseiKiwi commented 2014-04-12 01:19:52 +00:00 (Migrated from github.com)
  • Changed saving code to create backups by moving existing files rather
    than creating copies and deleting the originals.
  • Removed final call to PocketManager.save() in PocketManager.unload().
    Since we no longer check if the caller is the client or server and
    unload() must be called from both, this prevents clients from trying to
    save pocket data locally. A final save() call wasn't needed anyway.
  • Changed DDLogger.logger() to private to guarantee that the logger isn't
    being used anywhere in DD, since that could impact performance on
    servers.
- Changed saving code to create backups by moving existing files rather than creating copies and deleting the originals. - Removed final call to PocketManager.save() in PocketManager.unload(). Since we no longer check if the caller is the client or server and unload() must be called from both, this prevents clients from trying to save pocket data locally. A final save() call wasn't needed anyway. - Changed DDLogger.logger() to private to guarantee that the logger isn't being used anywhere in DD, since that could impact performance on servers.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: apex/DimDoors#152
No description provided.