Refactoring

This commit is contained in:
asia 2021-08-21 15:42:18 +02:00
parent 154b23203e
commit 8ffc0d36a2
3 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ package com.baeldung.hexagonal.adapter.in;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.baeldung.hexagonal.ShoppingCartService;
import com.baeldung.hexagonal.domain.ShoppingCartService;
@RestController
@RequestMapping("/shopping-cart")

View File

@ -1,4 +1,4 @@
package com.baeldung.hexagonal;
package com.baeldung.hexagonal.domain;
public interface ShoppingCartService {

View File

@ -5,7 +5,6 @@ import java.util.HashMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baeldung.hexagonal.ShoppingCartService;
import com.baeldung.hexagonal.adapter.out.Product;
import com.baeldung.hexagonal.domain.ports.ProductRepository;