Remove Comments and update prefix.

This commit is contained in:
Zahid Khan 2023-05-07 22:48:49 +05:30
parent 36a88aebe9
commit 3aa158b872
1 changed files with 1 additions and 9 deletions

View File

@ -3,16 +3,8 @@ package com.baeldung.error.configuration;
import org.springframework.boot.context.properties.ConfigurationProperties;
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
@ConfigurationProperties(prefix = "profile.application-properties")
@ConfigurationProperties(prefix = "profileProperties")
public class MainConfiguration {
private String name;