Skip to content

Commit

Permalink
Merge pull request EveryUniv#188 from EveryUniv/dev
Browse files Browse the repository at this point in the history
Release dev_deploy
  • Loading branch information
gutanbug authored May 12, 2024
2 parents b296272 + 68815a5 commit 21996ff
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,15 @@ public List<ResponseFestivalDateDto> listFestivalDate() {
if (result.isEmpty()) {
result.add(lineUp);
} else {
boolean flag = false;
for(LineUp resultLineUp : result) {
if(!resultLineUp.getFestivalDate().equals(lineUp.getFestivalDate())) {
result.add(lineUp);
break;
if(resultLineUp.getFestivalDate().equals(lineUp.getFestivalDate())) {
flag = true;
}
}
if (!flag) {
result.add(lineUp);
}
}
}

Expand Down

0 comments on commit 21996ff

Please sign in to comment.