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
spring-boot-modules/spring-boot-properties-3/src
main
test/java/com/baeldung/boot/properties/controller

@ -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);
} }
} }

@ -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;

@ -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;

@ -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;

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

@ -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:

@ -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;