Cleaned up a lot of different inspections

This commit is contained in:
Nicholas Ignoffo 2018-03-01 19:27:38 -08:00
parent 0dd0854bd9
commit 70d98455b7
207 changed files with 603 additions and 731 deletions

View file

@ -16,7 +16,7 @@ import java.util.HashMap;
import java.util.List;
public class StatTrackerGrimReaperSprint extends StatTracker {
public static HashMap<LivingArmour, Integer> changeMap = new HashMap<LivingArmour, Integer>();
public static HashMap<LivingArmour, Integer> changeMap = new HashMap<>();
public static int[] deathsRequired = new int[]{6, 10, 15, 25, 50, 70, 90, 120, 150, 200}; //TODO: Modify
public int totalDeaths = 0;
@ -67,7 +67,7 @@ public class StatTrackerGrimReaperSprint extends StatTracker {
@Override
public List<LivingArmourUpgrade> getUpgrades() {
List<LivingArmourUpgrade> upgradeList = new ArrayList<LivingArmourUpgrade>();
List<LivingArmourUpgrade> upgradeList = new ArrayList<>();
for (int i = 0; i < 10; i++) {
if (totalDeaths >= deathsRequired[i]) {