Skip to content

Commit

Permalink
update final field to constructor injectioins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsage1 committed Sep 27, 2023
1 parent 550f256 commit ed6f6b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public class ChallengeInputDataTypeApiDelegateImpl implements ChallengeInputData

private final ChallengeInputDataTypeService challengeInputDataTypeService;

public ChallengeInputDataTypeApiDelegateImpl(
ChallengeInputDataTypeService challengeInputDataTypeService) {
public ChallengeInputDataTypeApiDelegateImpl(ChallengeInputDataTypeService ) {
this.challengeInputDataTypeService = challengeInputDataTypeService;
}


@Override
public ResponseEntity<ChallengeInputDataTypesPageDto> listChallengeInputDataTypes(
ChallengeInputDataTypeSearchQueryDto query) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class ChallengePlatformApiDelegateImpl implements ChallengePlatformApiDel
private final ChallengePlatformService challengePlatformService;

public ChallengePlatformApiDelegateImpl(ChallengePlatformService challengePlatformService) {
this.challengePlatformService = challengePlatformService;
this.challengePlatformService = challengePlatformService;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class ChallengeService {
private final ChallengeRepository challengeRepository;

public ChallengeService(ChallengeRepository challengeRepository) {
this.challengeRepository = challengeRepository;
this.challengeRepository = ChallengeRepository;
}

// @Autowired private ProducerService producerService;
Expand Down

0 comments on commit ed6f6b9

Please sign in to comment.