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 Mar 15, 2024
1 parent 3f0607e commit 015a2de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.twtw.backend.config.redis;

import com.twtw.backend.global.properties.RedisProperties;

import lombok.RequiredArgsConstructor;

import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public PlaceResponse searchSurroundPlace(final SurroundPlaceRequest surroundPlac
key = "'searchSurroundPlace'.concat(#surroundPlaceRequest.toString())",
cacheManager = "cacheManager",
unless = "#result.results.size() <= 0")
public PlaceResponse searchSurroundPlaceWithCache(final SurroundPlaceRequest surroundPlaceRequest) {
public PlaceResponse searchSurroundPlaceWithCache(
final SurroundPlaceRequest surroundPlaceRequest) {
final SurroundPlaceResponse response = surroundPlaceClient.request(surroundPlaceRequest);
return new PlaceResponse(response.getDocuments(), response.getMeta().getIsEnd());
}
Expand Down

0 comments on commit 015a2de

Please sign in to comment.