Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 23, 2023
1 parent e087c7d commit 847c5c8
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
import com.twtw.backend.domain.plan.dto.client.SearchDestinationResponse;
import com.twtw.backend.global.client.KakaoMapClient;
import com.twtw.backend.global.properties.KakaoProperties;
import java.net.URI;
import java.nio.charset.StandardCharsets;

import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.util.UriBuilder;

import java.net.URI;
import java.nio.charset.StandardCharsets;

@Component
public class SearchDestinationClient
extends KakaoMapClient<SearchDestinationRequest, SearchDestinationResponse> {
Expand Down Expand Up @@ -50,8 +52,7 @@ private URI getUri(final SearchDestinationRequest request, final UriBuilder uriB
final Double y = request.getY();

if (x != null && y != null) {
builder
.queryParam("x", Double.toString(x))
builder.queryParam("x", Double.toString(x))
.queryParam("y", Double.toString(y))
.queryParam("radius", DEFAULT_DISTANCE_RADIUS);
}
Expand Down

0 comments on commit 847c5c8

Please sign in to comment.