mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
remove warning, adding generic brackets
This commit is contained in:
parent
bdb3a566a5
commit
5e5e9b609f
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ public class MainApp extends MultiDexApplication {
|
||||||
Map<Pair<String, String>, Long> syncedFolders = new HashMap<>();
|
Map<Pair<String, String>, Long> syncedFolders = new HashMap<>();
|
||||||
ArrayList<Long> ids = new ArrayList<>();
|
ArrayList<Long> ids = new ArrayList<>();
|
||||||
for (SyncedFolder syncedFolder : syncedFolderList) {
|
for (SyncedFolder syncedFolder : syncedFolderList) {
|
||||||
Pair<String, String> checkPair = new Pair(syncedFolder.getAccount(), syncedFolder.getLocalPath());
|
Pair<String, String> checkPair = new Pair<>(syncedFolder.getAccount(), syncedFolder.getLocalPath());
|
||||||
if (syncedFolders.containsKey(checkPair)) {
|
if (syncedFolders.containsKey(checkPair)) {
|
||||||
if (syncedFolder.getId() > syncedFolders.get(checkPair)) {
|
if (syncedFolder.getId() > syncedFolders.get(checkPair)) {
|
||||||
syncedFolders.put(checkPair, syncedFolder.getId());
|
syncedFolders.put(checkPair, syncedFolder.getId());
|
||||||
|
|
Loading…
Reference in a new issue