BAEL-4321 fix package name in imports and convert tabs to spaces

This commit is contained in:
Trixi Turny 2020-08-15 15:34:56 +01:00
parent 3c44e7af20
commit e399a6a8bc
7 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.boot.data; package com.baeldung.boot.properties;
import com.baeldung.boot.data.config.TshirtSizeConfig; import com.baeldung.boot.data.config.TshirtSizeConfig;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
@ -9,8 +9,8 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
@EnableConfigurationProperties(TshirtSizeConfig.class) @EnableConfigurationProperties(TshirtSizeConfig.class)
public class DemoApplication { public class DemoApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args); SpringApplication.run(DemoApplication.class, args);
} }
} }

View File

@ -1,4 +1,4 @@
package com.baeldung.boot.data.config; package com.baeldung.boot.properties.config;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;

View File

@ -1,4 +1,4 @@
package com.baeldung.boot.data.controller; package com.baeldung.boot.properties.controller;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import com.baeldung.boot.data.service.SizeConverterService; import com.baeldung.boot.data.service.SizeConverterService;

View File

@ -1,4 +1,4 @@
package com.baeldung.boot.data.service; package com.baeldung.boot.properties.service;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.baeldung.boot.data.config.TshirtSizeConfig; import com.baeldung.boot.data.config.TshirtSizeConfig;

View File

@ -1,4 +1,4 @@
package com.baeldung.boot.data.service; package com.baeldung.boot.properties.service;
public interface SizeConverterService { public interface SizeConverterService {

View File

@ -1,10 +1,10 @@
t-shirt-size: t-shirt-size:
simple-mapping: simple-mapping:
XS: 6 XS: 6
S: 8 S: 8
M: 10 M: 10
L: 12 L: 12
XL: 14 XL: 14
complex-mapping: complex-mapping:

View File

@ -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.Test;
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.api.extension.ExtendWith;