Skip to content

Commit

Permalink
chore: Modify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-vincent committed Jul 17, 2024
1 parent ebe16b6 commit 09c4f5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static class InfrastructureNum{
private int school;
private int publicSecurity;
private int busStop;
private int subway;
private float subway;
private int mart;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ public RecommendResponse recommendJeonse(RecommendRequest recommendRequest) {

List<JeonseCheckList> recommendList = new ArrayList<>();

int limitNumber = 0;

for (String atclNo : atclNos) {
limitNumber++;
int tmp = 0;
JeonseCheckList jeonseCheckList = checkJeonse(atclNo);
if (jeonseCheckList.getJeonseRate().isSuccess()) {
Expand All @@ -368,6 +371,9 @@ public RecommendResponse recommendJeonse(RecommendRequest recommendRequest) {
if (tmp >= 3) {
recommendList.add(jeonseCheckList);
}
if (limitNumber == 5) {
break;
}
}
recommendResponse.setRecommend(recommendList);
return recommendResponse;
Expand Down

0 comments on commit 09c4f5b

Please sign in to comment.