Skip to content

Commit

Permalink
Merge pull request #125 from dnd-side-project/develop
Browse files Browse the repository at this point in the history
릿플인기 주소 파싱
  • Loading branch information
HunSeongPark authored Feb 17, 2024
2 parents f1de767 + 357931f commit f684eee
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,10 @@ public void parseAddress() {
if (sgg.isEmpty()) return;
int sggLength = sgg.split(" ").length;
if (sggLength == 1) {
if (sgg.charAt(sgg.length() - 1) == '구') {
roadAddressName.append(sido).append(" ").append(sgg).append(" ").append(this.road_address_name);
addressName.append(sido).append(" ").append(sgg).append(" ").append(this.address_name);
} else {
roadAddressName.append(sgg).append(" ").append(this.road_address_name);
addressName.append(sgg).append(" ").append(this.address_name);
}
this.road_address_name = roadAddressName.toString();
this.address_name = addressName.toString();
this.road_address_name = roadAddressName.toString();
this.address_name = addressName.toString();
}
}
}

0 comments on commit f684eee

Please sign in to comment.