Fix out of bounds exception

master
Joshua Sigona 4 years ago
parent bd2cd01658
commit 25cb62a461
  1. BIN
      d4dj_rankTracker.jar
  2. 6
      src/main/java/d4dj/d4dj/App.java
  3. BIN
      target/classes/d4dj/d4dj/App.class

Binary file not shown.

@ -224,7 +224,11 @@ public class App
list[3].delete();
list[4].delete();
String filePath = "testing_leaderboardnames.png";
try {
detectText(filePath);
} catch (Exception e) {
System.out.println(e.getMessage());
}
} else {
if (f.listFiles().length>5) {
File[] list = f.listFiles();
@ -367,7 +371,7 @@ public class App
error1=true;
break;
}
}
}//227
boolean error2=false;
for (int i=0;i<10;i++) {
if (!StringUtils.isNumeric(lowerTierScores[i])) {

Loading…
Cancel
Save