Fix adding missing match
This commit is contained in:
@@ -180,8 +180,9 @@ public class TLWMatchesUpdaterFootball extends TLWMatchesManagerBase {
|
||||
if(!done) {
|
||||
for (TLWMatch tlwMatch : tlwMatches) {
|
||||
if (tlwMatch.getTeamIdHome() == 0 && tlwMatch.getTeamIdGuest() == 0
|
||||
&& Objects.equals(tlwMatch.getFormulaHome(), "")
|
||||
&& Objects.equals(tlwMatch.getFormulaGuest(), "")) {
|
||||
&& (Objects.equals(tlwMatch.getFormulaHome(), "") || Objects.equals(tlwMatch.getFormulaHome(), "D"))
|
||||
&& (Objects.equals(tlwMatch.getFormulaGuest(), "") || Objects.equals(tlwMatch.getFormulaGuest(), "D"))
|
||||
) {
|
||||
tlwMatch.updateMatch(missingMatch);
|
||||
done = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user