Skip to content

Commit

Permalink
Feat: conflicts solved
Browse files Browse the repository at this point in the history
  • Loading branch information
kz44 committed Feb 1, 2024
1 parent 9ce8759 commit c569fb3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.sportsmatch.controllers;

import com.sportsmatch.dtos.SportDTO;
import com.sportsmatch.service.SportService;
import com.sportsmatch.services.SportService;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SportMapper {
* @param entity The Sport entity to be converted.
* @return SportDTO containing information from the Sport entity.
*/
public static SportDTO toDTO (Sport entity) {
public static SportDTO toDTO(Sport entity) {
return SportDTO.builder()
.name(entity.getName())
.build();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sportsmatch.service;
package com.sportsmatch.services;

import com.sportsmatch.dtos.SportDTO;
import org.springframework.data.domain.Pageable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.sportsmatch.service;
package com.sportsmatch.services;

import com.sportsmatch.dtos.SportDTO;
import com.sportsmatch.mappers.SportMapper;
import com.sportsmatch.repositories.SportRepository;
import com.sportsmatch.services.SportService;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.sportsmatch.dtos.SportDTO;
import com.sportsmatch.models.Sport;
import com.sportsmatch.repositories.SportRepository;
import com.sportsmatch.services.SportServiceImp;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
Expand Down

0 comments on commit c569fb3

Please sign in to comment.