Merge pull request #14014 from zahikhan/master
Fix formatting issues, refactor the profiles word in the properties.
This commit is contained in:
commit
f4ab6b7edd
@ -4,7 +4,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ConfigurationProperties(prefix = "profile.profileProperties")
|
||||
@ConfigurationProperties(prefix = "customProperties")
|
||||
public class MainConfiguration {
|
||||
private String name;
|
||||
|
||||
|
@ -34,10 +34,10 @@ not.existing.system.property=${thispropertydoesnotexist}
|
||||
baeldung.presentation=${HELLO_BAELDUNG}. Java is installed in the folder: ${JAVA_HOME}
|
||||
#---
|
||||
#camelCasing
|
||||
#profile.applicationProperties.name="Baeldung"
|
||||
#customProperties.name="Baeldung"
|
||||
#PascalCasing
|
||||
#profile.ApplicationProperties.name="Baeldung"
|
||||
#CustomProperties.name="Baeldung"
|
||||
#SnakingCasing
|
||||
#profile.application_properties.name="Baeldung"
|
||||
#custom_properties.name="Baeldung"
|
||||
#KebabCasing
|
||||
profile.application-properties.name="Baeldung"
|
||||
custom-properties.name="Baeldung"
|
Loading…
x
Reference in New Issue
Block a user