Remove client-side checking, moved to server side
This commit is contained in:
parent
3ce240dc81
commit
d3f5dc41cf
Binary file not shown.
@ -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.
Loading…
x
Reference in New Issue
Block a user