From 2fac90e7b808f19eabf25c01a924e75944228f40 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 6 Mar 2014 00:04:32 +0100 Subject: Fix java warnings --- main/src/cgeo/geocaching/DataStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/cgeo/geocaching/DataStore.java') diff --git a/main/src/cgeo/geocaching/DataStore.java b/main/src/cgeo/geocaching/DataStore.java index bf040f4..a7e3745 100644 --- a/main/src/cgeo/geocaching/DataStore.java +++ b/main/src/cgeo/geocaching/DataStore.java @@ -2176,7 +2176,7 @@ public class DataStore { } } catch (final Exception e) { Log.e("DataStore.loadBatchOfStoredGeocodes", e); - return Collections.EMPTY_SET; + return Collections.emptySet(); } } @@ -2207,7 +2207,7 @@ public class DataStore { Log.e("DataStore.loadBatchOfHistoricGeocodes", e); } - return Collections.EMPTY_SET; + return Collections.emptySet(); } /** Retrieve all stored caches from DB */ -- cgit v1.1