Remove Comments and update prefix.
This commit is contained in:
parent
36a88aebe9
commit
3aa158b872
|
@ -3,16 +3,8 @@ package com.baeldung.error.configuration;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
/**
|
|
||||||
* <h2>This class is for Configuration.</h2>
|
|
||||||
* <p>
|
|
||||||
* Project Name: New folder
|
|
||||||
*
|
|
||||||
* @author Zahid Khan
|
|
||||||
* @version 4/1/2023
|
|
||||||
*/
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConfigurationProperties(prefix = "profile.application-properties")
|
@ConfigurationProperties(prefix = "profileProperties")
|
||||||
public class MainConfiguration {
|
public class MainConfiguration {
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue