change constraint on enum from @NotEmpty to @NotNull

This commit is contained in:
Spencer Gibb
2015-11-20 13:18:27 -07:00
parent 60b98a6edf
commit d9b299a8c3

View File

@@ -16,6 +16,8 @@
package org.springframework.cloud.consul.config;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -38,7 +40,7 @@ public class ConsulConfigProperties {
@NotEmpty
private String profileSeparator = ",";
@NotEmpty
@NotNull
private Format format = Format.KEY_VALUE;
/**