From 5e5e9b609f2df7000b085e5d93da0aa83ebb85fa Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Fri, 24 Feb 2017 12:07:15 +0100 Subject: [PATCH] remove warning, adding generic brackets --- src/com/owncloud/android/MainApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());