From c1527cb36df99aa94499c26224f0a75af1f60c44 Mon Sep 17 00:00:00 2001 From: TacoTheDank Date: Fri, 10 Jul 2020 18:43:41 -0400 Subject: [PATCH] Java 7 migration --- .../transdroid/core/gui/TorrentsActivity.java | 7 ++----- .../core/gui/lists/DetailsAdapter.java | 8 ++++---- .../core/gui/lists/MergeAdapter.java | 4 ++-- .../core/gui/lists/PiecesMapView.java | 6 +++--- .../core/gui/lists/SimpleListItemAdapter.java | 2 +- .../core/gui/navigation/FilterListAdapter.java | 6 +++--- .../core/gui/search/BarcodeHelper.java | 2 +- .../core/gui/search/FilePickerHelper.java | 2 +- .../core/gui/search/SearchResultsFragment.java | 2 +- .../core/seedbox/SeedboxSettingsImpl.java | 2 +- .../org/transdroid/daemon/DummyAdapter.java | 10 +++++----- .../java/org/transdroid/daemon/Priority.java | 2 +- .../org/transdroid/daemon/TorrentDetails.java | 2 +- .../org/transdroid/daemon/TorrentFile.java | 2 +- .../transdroid/daemon/TorrentFilesSortBy.java | 2 +- .../org/transdroid/daemon/TorrentStatus.java | 2 +- .../org/transdroid/daemon/TorrentsSortBy.java | 2 +- .../adapters/bitComet/BitCometAdapter.java | 8 ++++---- .../daemon/adapters/bitflu/BitfluAdapter.java | 4 ++-- .../adapters/buffaloNas/BuffaloNasAdapter.java | 4 ++-- .../dLinkRouterBT/DLinkRouterBTAdapter.java | 4 ++-- .../adapters/deluge/DelugeRpcAdapter.java | 16 ++++------------ .../adapters/deluge/DelugeRpcClient.java | 10 ++-------- .../adapters/kTorrent/FileListParser.java | 2 +- .../adapters/kTorrent/KTorrentAdapter.java | 2 +- .../daemon/adapters/kTorrent/StatsParser.java | 2 +- .../adapters/rTorrent/RTorrentAdapter.java | 10 +++++----- .../adapters/synology/SynologyAdapter.java | 18 +++++++++--------- .../daemon/adapters/tfb4rt/StatsParser.java | 2 +- .../adapters/uTorrent/UTorrentAdapter.java | 8 ++++---- .../daemon/adapters/vuze/VuzeAdapter.java | 8 ++++---- .../adapters/vuze/VuzeXmlOverHttpClient.java | 6 +++--- .../daemon/task/SetFilePriorityTask.java | 2 +- .../daemon/task/SetTrackersTask.java | 2 +- .../org/transdroid/daemon/util/HttpHelper.java | 2 +- .../transdroid/multipart/BitCometFilePart.java | 7 ++----- 36 files changed, 80 insertions(+), 100 deletions(-) diff --git a/app/src/main/java/org/transdroid/core/gui/TorrentsActivity.java b/app/src/main/java/org/transdroid/core/gui/TorrentsActivity.java index 791c626c..5097627d 100644 --- a/app/src/main/java/org/transdroid/core/gui/TorrentsActivity.java +++ b/app/src/main/java/org/transdroid/core/gui/TorrentsActivity.java @@ -285,7 +285,7 @@ public class TorrentsActivity extends AppCompatActivity implements TorrentTasksE navigationListAdapter.updateServers(applicationSettings.getAllServerSettings()); navigationListAdapter.updateStatusTypes(StatusType.getAllStatusTypes(this)); // Add an empty labels list (which will be updated later, but the adapter needs to be created now) - navigationListAdapter.updateLabels(new ArrayList