| 1 | package org.hplr.game.core.usecases.service; | |
| 2 | ||
| 3 | import lombok.RequiredArgsConstructor; | |
| 4 | import org.hplr.game.core.model.vo.GameDeployment; | |
| 5 | import org.hplr.game.core.usecases.port.in.GetAllGameDeploymentsUseCaseInterface; | |
| 6 | import org.hplr.game.core.usecases.port.out.query.SelectAllGameDeploymentsQueryInterface; | |
| 7 | import org.springframework.stereotype.Service; | |
| 8 | ||
| 9 | import java.util.List; | |
| 10 | ||
| 11 | @RequiredArgsConstructor | |
| 12 | @Service | |
| 13 | public class GetAllGameDeploymentsUseCaseService implements GetAllGameDeploymentsUseCaseInterface { | |
| 14 | ||
| 15 | final SelectAllGameDeploymentsQueryInterface selectAllGameDeploymentsQueryInterface; | |
| 16 | ||
| 17 | @Override | |
| 18 | public List<GameDeployment> getAllGameDeployments() { | |
| 19 |
1
1. getAllGameDeployments : replaced return value with Collections.emptyList for org/hplr/game/core/usecases/service/GetAllGameDeploymentsUseCaseService::getAllGameDeployments → KILLED |
return selectAllGameDeploymentsQueryInterface.getAllGameDeployments(); |
| 20 | } | |
| 21 | } | |
Mutations | ||
| 19 |
1.1 |