Fix out of bounds exception
This commit is contained in:
parent
bd2cd01658
commit
25cb62a461
Binary file not shown.
@ -224,7 +224,11 @@ public class App
|
|||||||
list[3].delete();
|
list[3].delete();
|
||||||
list[4].delete();
|
list[4].delete();
|
||||||
String filePath = "testing_leaderboardnames.png";
|
String filePath = "testing_leaderboardnames.png";
|
||||||
detectText(filePath);
|
try {
|
||||||
|
detectText(filePath);
|
||||||
|
} catch (Exception e) {
|
||||||
|
System.out.println(e.getMessage());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (f.listFiles().length>5) {
|
if (f.listFiles().length>5) {
|
||||||
File[] list = f.listFiles();
|
File[] list = f.listFiles();
|
||||||
@ -367,7 +371,7 @@ public class App
|
|||||||
error1=true;
|
error1=true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}//227
|
||||||
boolean error2=false;
|
boolean error2=false;
|
||||||
for (int i=0;i<10;i++) {
|
for (int i=0;i<10;i++) {
|
||||||
if (!StringUtils.isNumeric(lowerTierScores[i])) {
|
if (!StringUtils.isNumeric(lowerTierScores[i])) {
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user