mozilla-services/android-sync — pull request #516 by rnewman (2014-12-23 04:15:38+00:00)
Title: Bug 1109361 - Make ProfileInformationCache loading robust against empty files.

This adds a test that reproduces the problem, then fixes it by using `Scanner`'s `hasNext` method and the existing control flow.