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 Jan 13, 2024
1 parent b5fa81a commit e419683
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.twtw.backend.domain.place.entity.Place;
import com.twtw.backend.domain.plan.dto.response.PlaceDetails;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.MappingConstants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.twtw.backend.domain.place.dto.response.PlaceResponse;
import com.twtw.backend.domain.place.entity.Place;
import com.twtw.backend.domain.place.mapper.PlaceMapper;
import com.twtw.backend.domain.plan.dto.client.PlaceClientDetails;
import com.twtw.backend.domain.plan.dto.response.PlaceDetails;
import com.twtw.backend.global.client.KakaoMapClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ public List<Member> getNotJoinedMembers() {
}

private boolean isNotJoined(Member member) {
return this.planMembers.stream().noneMatch(planMember -> planMember.isSameMember(member) && planMember.isAccepted());
return this.planMembers.stream()
.noneMatch(
planMember -> planMember.isSameMember(member) && planMember.isAccepted());
}

public void addMembers(final List<Member> membersByIds) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
import com.twtw.backend.global.constant.NotificationBody;
import com.twtw.backend.global.constant.NotificationTitle;
import com.twtw.backend.global.exception.EntityNotFoundException;

import lombok.RequiredArgsConstructor;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ void formatSuccess() throws Exception {
post("/plans")
.content(
"{\n"
+ " \"name\": \"name_c195e577132b\",\n"
+ " \"groupId\":"
+ " \"63fcf33b-55a7-49fc-b8e7-97c993e43632\",\n"
+ " \"planDay\": \"2024-01-13 20:22\",\n"
+ " \"placeDetails\": {\n"
+ " \"placeName\": \"placeName_2bd877f5726b\",\n"
+ " \"placeUrl\": \"placeUrl_fd39b3850bfe\",\n"
+ " \"roadAddressName\":"
+ " \"roadAddressName_d020d911090a\",\n"
+ " \"longitude\": 0.00,\n"
+ " \"latitude\": 0.00\n"
+ " },\n"
+ " \"memberIds\": [\n"
+ " \"6fc8d409-7010-42b9-8c6f-e807f4028242\"\n"
+ " ]\n"
+ "}")
+ " \"name\": \"name_c195e577132b\",\n"
+ " \"groupId\":"
+ " \"63fcf33b-55a7-49fc-b8e7-97c993e43632\",\n"
+ " \"planDay\": \"2024-01-13 20:22\",\n"
+ " \"placeDetails\": {\n"
+ " \"placeName\": \"placeName_2bd877f5726b\",\n"
+ " \"placeUrl\": \"placeUrl_fd39b3850bfe\",\n"
+ " \"roadAddressName\":"
+ " \"roadAddressName_d020d911090a\",\n"
+ " \"longitude\": 0.00,\n"
+ " \"latitude\": 0.00\n"
+ " },\n"
+ " \"memberIds\": [\n"
+ " \"6fc8d409-7010-42b9-8c6f-e807f4028242\"\n"
+ " ]\n"
+ "}")
.contentType(MediaType.APPLICATION_JSON)
.header(
"Authorization",
Expand Down

0 comments on commit e419683

Please sign in to comment.