optimize 1131: set notifyPlatforms default value to empty list (#1170)

pull/1210/head
yangsanity 2 years ago committed by GitHub
parent c1bea7a6bf
commit 34e63e6aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,7 @@ import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@ -85,7 +86,7 @@ public class BootstrapConfigProperties implements BootstrapPropertiesInterface {
/**
* Notify platforms.
*/
private List<NotifyPlatformProperties> notifyPlatforms;
private List<NotifyPlatformProperties> notifyPlatforms = Collections.emptyList();
/**
* Check thread pool running status interval.

Loading…
Cancel
Save