Skip to content

Commit

Permalink
chore: 경험 역량 매퍼 함수명 변경(#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed May 19, 2024
1 parent 17077e1 commit 9f20d69
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public ExperienceJpaEntity toExperienceJpaEntity(Experience experience) {
.map(this::toExperienceContentJpaEntity).toList();

List<ExperienceStrongPointJpaEntity> strongPointInfoJpaEntities = experience.getExperienceStrongPoints().stream()
.map(this::toStrongPointInfoJpaEntity).toList();
.map(this::toExperienceStrongPointJpaEntity).toList();

return new ExperienceJpaEntity(
experience.getId(),
Expand All @@ -38,7 +38,7 @@ public Experience toExperienceDomainEntity(ExperienceJpaEntity experienceJpaEnti
.map(this::toExperienceContentDomainEntity).toList();

List<ExperienceStrongPoint> experienceStrongPoints = experienceJpaEntity.getStrongPointInfos().stream()
.map(this::toStrongPointInfoDomainEntity).toList();
.map(this::toExperienceStrongPointDomainEntity).toList();
return Experience.Companion.toDomain(
experienceJpaEntity.getExperienceId(),
experienceJpaEntity.getUserId(),
Expand Down Expand Up @@ -70,11 +70,11 @@ public ExperienceContent toExperienceContentDomainEntity(ExperienceContentJpaEnt
);
}

public ExperienceStrongPointJpaEntity toStrongPointInfoJpaEntity(ExperienceStrongPoint experienceStrongPoint) {
public ExperienceStrongPointJpaEntity toExperienceStrongPointJpaEntity(ExperienceStrongPoint experienceStrongPoint) {
return new ExperienceStrongPointJpaEntity(experienceStrongPoint.getId(), experienceStrongPoint.getStrongPointId());
}

public ExperienceStrongPoint toStrongPointInfoDomainEntity(ExperienceStrongPointJpaEntity experienceStrongPointJpaEntity) {
public ExperienceStrongPoint toExperienceStrongPointDomainEntity(ExperienceStrongPointJpaEntity experienceStrongPointJpaEntity) {
return ExperienceStrongPoint.Companion.toDomain(
experienceStrongPointJpaEntity.getExperienceStrongPointId(),
experienceStrongPointJpaEntity.getStrongPointId()
Expand Down

0 comments on commit 9f20d69

Please sign in to comment.