Refactoring
This commit is contained in:
parent
154b23203e
commit
8ffc0d36a2
@ -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")
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.hexagonal;
|
||||
package com.baeldung.hexagonal.domain;
|
||||
|
||||
public interface ShoppingCartService {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user