Remove client-side checking, moved to server side

master
Joshua Sigona 4 years ago
parent 3ce240dc81
commit d3f5dc41cf
  1. BIN
      d4dj_rankTracker.jar
  2. 7
      src/main/java/d4dj/d4dj/App.java
  3. BIN
      target/classes/d4dj/d4dj/App.class

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]+".");

Loading…
Cancel
Save