mozilla/MozStumbler — pull request #1346 by garvankeeley (2014-12-11 20:57:19+00:00)
Title: Changed prefs to getInstance(Context) and the less-safe getInstanceWithoutContext()

Where possible getInstance(Context) should be used. The internal utility classes can use Prefs.getInstanceWithoutContext(), but must check the instance is not null. As part of the app instantiation, the Prefs instance is created, so there is no known reason that Prefs.getInstanceWithoutContext() would return null.