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

@ -15,7 +15,7 @@ import java.util.HashMap;
import java.util.List;
public class StatTrackerJump extends StatTracker {
public static HashMap<LivingArmour, Integer> changeMap = new HashMap<LivingArmour, Integer>();
public static HashMap<LivingArmour, Integer> changeMap = new HashMap<>();
public static int[] jumpsRequired = new int[]{30, 200, 400, 700, 1100, 1500, 2000, 2800, 3600, 5000}; //testing
public int totalJumps = 0;
@ -68,7 +68,7 @@ public class StatTrackerJump 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 (totalJumps >= jumpsRequired[i]) {