-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create date formatters at initialization time rather than at runtime.
We had some null pointer exceptions in code that was using BSG_RFC3339DateTool, which seems to be caused by a nil instance of the date formatter. I couldn't find any definitive culprit, but with this change there's zero possibility of the formatter ever being nil again.
- Loading branch information
Showing
2 changed files
with
25 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters