Remove client-side checking, moved to server side

This commit is contained in:
Joshua Sigona 2021-03-03 20:57:04 +09:00
parent 3ce240dc81
commit d3f5dc41cf
3 changed files with 0 additions and 7 deletions

Binary file not shown.

View File

@ -407,16 +407,9 @@ public class App
for (int j=0;j<10;j++) {
try {
//if (j>=1&&j<9&&Integer.parseInt(lowerTierScores[j])>Integer.parseInt(lowerTierScores[j+1])&&Integer.parseInt(lowerTierScores[j])<Integer.parseInt(lowerTierScores[j+1])) {
if (lastLowerTierScores[j]==0||(
StringUtils.isNumeric(lowerTierScores[j])&&
lastLowerTierScores[j]<Integer.parseInt(lowerTierScores[j]))) {
new Thread(
new SubmitThread(lowerTierNames[j],lowerTierDesc[j],lowerTierScores[j],EVENT,ranks[j]))
.start();
lastLowerTierScores[j]=Integer.parseInt(lowerTierScores[j]);
} else {
System.out.println("No update required for rank "+ranks[j]);
}
//}
} catch (Exception e) {
System.out.println("Cannot parse score for rank "+ranks[j]+".");

Binary file not shown.