BAEL-4321 fix package name in imports and convert tabs to spaces
This commit is contained in:
parent
3c44e7af20
commit
e399a6a8bc
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data;
|
||||
package com.baeldung.boot.properties;
|
||||
|
||||
import com.baeldung.boot.data.config.TshirtSizeConfig;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@ -9,8 +9,8 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
||||
@EnableConfigurationProperties(TshirtSizeConfig.class)
|
||||
public class DemoApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(DemoApplication.class, args);
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(DemoApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data.config;
|
||||
package com.baeldung.boot.properties.config;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data.controller;
|
||||
package com.baeldung.boot.properties.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baeldung.boot.data.service.SizeConverterService;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data.service;
|
||||
package com.baeldung.boot.properties.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baeldung.boot.data.config.TshirtSizeConfig;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data.service;
|
||||
package com.baeldung.boot.properties.service;
|
||||
|
||||
|
||||
public interface SizeConverterService {
|
||||
|
@ -1,10 +1,10 @@
|
||||
t-shirt-size:
|
||||
simple-mapping:
|
||||
XS: 6
|
||||
S: 8
|
||||
M: 10
|
||||
L: 12
|
||||
XL: 14
|
||||
t-shirt-size:
|
||||
simple-mapping:
|
||||
XS: 6
|
||||
S: 8
|
||||
M: 10
|
||||
L: 12
|
||||
XL: 14
|
||||
|
||||
|
||||
complex-mapping:
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.baeldung.boot.data.controller;
|
||||
package com.baeldung.boot.properties.controller;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
Loading…
x
Reference in New Issue
Block a user