BAEL-4321 fix package name everywhere
This commit is contained in:
parent
7e1461c40a
commit
b94d29a1cc
@ -1,9 +1,9 @@
|
||||
package yamltopojo.demo;
|
||||
package com.baeldung.boot.data;
|
||||
|
||||
import com.baeldung.boot.data.config.TshirtSizeConfig;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import yamltopojo.demo.config.TshirtSizeConfig;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableConfigurationProperties(TshirtSizeConfig.class)
|
||||
|
@ -1,4 +1,4 @@
|
||||
package yamltopojo.demo.config;
|
||||
package com.baeldung.boot.data.config;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package yamltopojo.demo.controller;
|
||||
package com.baeldung.boot.data.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import yamltopojo.demo.service.SizeConverterService;
|
||||
import com.baeldung.boot.data.service.SizeConverterService;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(value = "/")
|
||||
|
@ -1,7 +1,7 @@
|
||||
package yamltopojo.demo.service;
|
||||
package com.baeldung.boot.data.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import yamltopojo.demo.config.TshirtSizeConfig;
|
||||
import com.baeldung.boot.data.config.TshirtSizeConfig;
|
||||
|
||||
|
||||
@Service
|
||||
|
@ -1,4 +1,4 @@
|
||||
package yamltopojo.demo.service;
|
||||
package com.baeldung.boot.data.service;
|
||||
|
||||
|
||||
public interface SizeConverterService {
|
||||
|
@ -1,11 +1,11 @@
|
||||
package yamltopojo.demo.controller;
|
||||
package com.baeldung.boot.data.controller;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import yamltopojo.demo.service.SizeConverterService;
|
||||
import com.baeldung.boot.data.service.SizeConverterService;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
Loading…
x
Reference in New Issue
Block a user