Skip to content

Commit

Permalink
Removing the constructor and using the AllArgs annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vikhyat187 authored Dec 12, 2023
1 parent 9074902 commit e8c0b22
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@

@Service
@Slf4j
@AllArgsConstructor
public class SkillsServiceImpl implements SkillsService{
private final SkillRepository skillRepository;
private final UserRepository userRepository;
public SkillsServiceImpl(SkillRepository skillRepository,
UserRepository userRepository){
this.userRepository = userRepository;
this.skillRepository = skillRepository;
}

@Override
public SkillDTO getSkillById(UUID id){
Expand Down

0 comments on commit e8c0b22

Please sign in to comment.