diff --git a/src/com/owncloud/android/MainApp.java b/src/com/owncloud/android/MainApp.java index 7f04b60ff2..ceda7a8146 100644 --- a/src/com/owncloud/android/MainApp.java +++ b/src/com/owncloud/android/MainApp.java @@ -280,7 +280,7 @@ public class MainApp extends MultiDexApplication { Map, Long> syncedFolders = new HashMap<>(); ArrayList ids = new ArrayList<>(); for (SyncedFolder syncedFolder : syncedFolderList) { - Pair checkPair = new Pair(syncedFolder.getAccount(), syncedFolder.getLocalPath()); + Pair checkPair = new Pair<>(syncedFolder.getAccount(), syncedFolder.getLocalPath()); if (syncedFolders.containsKey(checkPair)) { if (syncedFolder.getId() > syncedFolders.get(checkPair)) { syncedFolders.put(checkPair, syncedFolder.getId());