loottracker: Remove explicit types

This commit is contained in:
sdburns1998
2019-07-07 15:27:41 +02:00
parent eaf46de860
commit 1c62a8ef0a

View File

@@ -146,7 +146,7 @@ public class LootTrackerPlugin extends Plugin
11062 // Camelot 11062 // Camelot
); );
// Player deaths // Player deaths
public static HashSet<String> usernameSet = new HashSet<String>(Arrays.stream(new String[]{"All Records"}).collect(Collectors.toList())); public static HashSet<String> usernameSet = new HashSet<>(Arrays.stream(new String[]{"All Records"}).collect(Collectors.toList()));
@Inject @Inject
public Client client; public Client client;
@VisibleForTesting @VisibleForTesting
@@ -371,7 +371,7 @@ public class LootTrackerPlugin extends Plugin
{ {
clientToolbar.removeNavigation(navButton); clientToolbar.removeNavigation(navButton);
lootTrackerClient = null; lootTrackerClient = null;
lootRecords = new ArrayList<LootRecord>(); lootRecords = new ArrayList<>();
} }
@Subscribe @Subscribe