diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2012-03-03 11:38:19 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2012-03-03 11:38:19 +0100 |
commit | 3ab8a73408ff7bff9c5ab4787f23167b4b8f2ae6 (patch) | |
tree | e29c7e256cd87c0d8560684a1da3168c232b6036 /main/src/cgeo/geocaching/CacheCache.java | |
parent | f2835856dbb0b2865d842dd381f4e90601710438 (diff) | |
download | cgeo-3ab8a73408ff7bff9c5ab4787f23167b4b8f2ae6.zip cgeo-3ab8a73408ff7bff9c5ab4787f23167b4b8f2ae6.tar.gz cgeo-3ab8a73408ff7bff9c5ab4787f23167b4b8f2ae6.tar.bz2 |
refactoring: performance cleanups
Diffstat (limited to 'main/src/cgeo/geocaching/CacheCache.java')
-rw-r--r-- | main/src/cgeo/geocaching/CacheCache.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/CacheCache.java b/main/src/cgeo/geocaching/CacheCache.java index 75fcfde..a2b5324 100644 --- a/main/src/cgeo/geocaching/CacheCache.java +++ b/main/src/cgeo/geocaching/CacheCache.java @@ -76,11 +76,7 @@ public class CacheCache { @Override public String toString() { - String result = ""; - for (String geocode : cachesCache.keySet()) { - result += geocode + " "; - } - return result; + return StringUtils.join(cachesCache.keySet(), ' '); } } |