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