Skip to content

Commit

Permalink
P4ADEV-1648 indent
Browse files Browse the repository at this point in the history
  • Loading branch information
macacia committed Dec 13, 2024
1 parent fe2aa1f commit 7497aef
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ public class PaymentsReportingDaoImpl implements PaymentsReportingDao {
private final PaymentsReportingRepository repository;
private final PaymentsReportingMapper paymentsReportingMapper;

public PaymentsReportingDaoImpl(PaymentsReportingRepository repository,
PaymentsReportingMapper paymentsReportingMapper) {
this.repository = repository;
this.paymentsReportingMapper = paymentsReportingMapper;
}
public PaymentsReportingDaoImpl(PaymentsReportingRepository repository,
PaymentsReportingMapper paymentsReportingMapper) {
this.repository = repository;
this.paymentsReportingMapper = paymentsReportingMapper;
}

@Override
public List<PaymentsReportingDTO> saveAll(List<PaymentsReportingDTO> dtos) {
List<PaymentsReporting> paymentsReportings = repository
.saveAll(dtos.stream()
.map(paymentsReportingMapper::mapPaymentsReportingDTO2Model)
.toList());
return paymentsReportings.stream()
.map(paymentsReportingMapper::mapPaymentsReporting2DTO)
.toList();
}
@Override
public List<PaymentsReportingDTO> saveAll(List<PaymentsReportingDTO> dtos) {
List<PaymentsReporting> paymentsReportings = repository
.saveAll(dtos.stream()
.map(paymentsReportingMapper::mapPaymentsReportingDTO2Model)
.toList());
return paymentsReportings.stream()
.map(paymentsReportingMapper::mapPaymentsReporting2DTO)
.toList();
}
}

0 comments on commit 7497aef

Please sign in to comment.