From 1c62a8ef0abda442049943532e03f6df33d1d51d Mon Sep 17 00:00:00 2001 From: sdburns1998 Date: Sun, 7 Jul 2019 15:27:41 +0200 Subject: [PATCH] loottracker: Remove explicit types --- .../client/plugins/loottracker/LootTrackerPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java index 4255112251..cdcfff42d0 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/loottracker/LootTrackerPlugin.java @@ -146,7 +146,7 @@ public class LootTrackerPlugin extends Plugin 11062 // Camelot ); // Player deaths - public static HashSet usernameSet = new HashSet(Arrays.stream(new String[]{"All Records"}).collect(Collectors.toList())); + public static HashSet usernameSet = new HashSet<>(Arrays.stream(new String[]{"All Records"}).collect(Collectors.toList())); @Inject public Client client; @VisibleForTesting @@ -371,7 +371,7 @@ public class LootTrackerPlugin extends Plugin { clientToolbar.removeNavigation(navButton); lootTrackerClient = null; - lootRecords = new ArrayList(); + lootRecords = new ArrayList<>(); } @Subscribe