diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2015-01-02 01:41:30 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2015-01-02 01:41:30 +0100 |
| commit | 4e8d093d518792d19b703482c571d3d54349d474 (patch) | |
| tree | 00109da71746fae30faf0974677abef0e24d7ca0 | |
| parent | b9d93ce637577f106e608e04dc2a6baea72f646d (diff) | |
| download | cgeo-4e8d093d518792d19b703482c571d3d54349d474.zip cgeo-4e8d093d518792d19b703482c571d3d54349d474.tar.gz cgeo-4e8d093d518792d19b703482c571d3d54349d474.tar.bz2 | |
Inline local variable
| -rw-r--r-- | main/src/cgeo/geocaching/list/StoredList.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/list/StoredList.java b/main/src/cgeo/geocaching/list/StoredList.java index 4d6828a..0ffd58a 100644 --- a/main/src/cgeo/geocaching/list/StoredList.java +++ b/main/src/cgeo/geocaching/list/StoredList.java @@ -107,8 +107,7 @@ public final class StoredList extends AbstractList { lists.addAll(getSortedLists()); if (exceptListId == StoredList.STANDARD_LIST_ID || exceptListId >= DataStore.customListIdOffset) { - final StoredList exceptList = DataStore.getList(exceptListId); - lists.remove(exceptList); + lists.remove(DataStore.getList(exceptListId)); } if (!onlyConcreteLists) { |
