Remove assert that is not needed anymore

This commit is contained in:
ligi 2015-11-17 01:56:40 +01:00
parent 4ea103d38b
commit e5423c0224

View file

@ -30,7 +30,6 @@ public class PastLocationsStore {
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
final Set<String> pastLocations = prefs.getStringSet(KEY_PAST_LOCATIONS, new HashSet<String>()); final Set<String> pastLocations = prefs.getStringSet(KEY_PAST_LOCATIONS, new HashSet<String>());
assert pastLocations != null;
if (pastLocations.size() >= MAX_ELEMENTS) { if (pastLocations.size() >= MAX_ELEMENTS) {
deleteOneElementFromSet(pastLocations); deleteOneElementFromSet(pastLocations);
} }