Skip to content

Commit

Permalink
fix/34-주소-반환-api-끝-공백-제거
Browse files Browse the repository at this point in the history
  • Loading branch information
toychip authored Oct 15, 2024
1 parent 4adc1f3 commit a792222
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ public record MemberStreetResponse(
String street
) {
public static MemberStreetResponse of(String street) {
return new MemberStreetResponse(street);
String trimmedStreet = street.trim();

return new MemberStreetResponse(trimmedStreet);
}
}

0 comments on commit a792222

Please sign in to comment.