diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-09-13 09:22:41 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-09-13 09:46:36 +0200 |
| commit | 15282e600a818c2e4d3b5fc21e8a2d5143d818e5 (patch) | |
| tree | 3491c025204d27052d36664d1302a6e5defbb9b7 /main/src/cgeo/geocaching/twitter/Twitter.java | |
| parent | e0d2a7ff191024c39b3b65fd7f0d52d6340bebbe (diff) | |
| download | cgeo-15282e600a818c2e4d3b5fc21e8a2d5143d818e5.zip cgeo-15282e600a818c2e4d3b5fc21e8a2d5143d818e5.tar.gz cgeo-15282e600a818c2e4d3b5fc21e8a2d5143d818e5.tar.bz2 | |
refactoring: cgData -> DataStore
Diffstat (limited to 'main/src/cgeo/geocaching/twitter/Twitter.java')
| -rw-r--r-- | main/src/cgeo/geocaching/twitter/Twitter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/twitter/Twitter.java b/main/src/cgeo/geocaching/twitter/Twitter.java index 7233764..b339e28 100644 --- a/main/src/cgeo/geocaching/twitter/Twitter.java +++ b/main/src/cgeo/geocaching/twitter/Twitter.java @@ -1,8 +1,8 @@ package cgeo.geocaching.twitter; +import cgeo.geocaching.DataStore; import cgeo.geocaching.Geocache; import cgeo.geocaching.Trackable; -import cgeo.geocaching.cgData; import cgeo.geocaching.cgeoapplication; import cgeo.geocaching.enumerations.LoadFlags; import cgeo.geocaching.geopoint.Geopoint; @@ -22,12 +22,12 @@ public final class Twitter { private static final int MAX_TWEET_SIZE = 140; public static void postTweetCache(String geocode) { - final Geocache cache = cgData.loadCache(geocode, LoadFlags.LOAD_CACHE_OR_DB); + final Geocache cache = DataStore.loadCache(geocode, LoadFlags.LOAD_CACHE_OR_DB); postTweet(cgeoapplication.getInstance(), getStatusMessage(cache), null); } public static void postTweetTrackable(String geocode) { - final Trackable trackable = cgData.loadTrackable(geocode); + final Trackable trackable = DataStore.loadTrackable(geocode); postTweet(cgeoapplication.getInstance(), getStatusMessage(trackable), null); } |
