Browse Source

Remove hard-coded list of values in description

Since the meta-data now provide an explicit support for value hints, we
should not copy/paste them in the description as the IDE is able to
process them any way it wants.

Closes gh-3863
pull/3866/head
Stephane Nicoll 11 years ago
parent
commit
8f520dafc7
  1. 5
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java
  2. 6
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java

5
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java

@ -42,9 +42,8 @@ public class ShellProperties { @@ -42,9 +42,8 @@ public class ShellProperties {
private static Log logger = LogFactory.getLog(ShellProperties.class);
/**
* Authentication type (can be "simple", "spring", "key" or "jaas"). Auto-detected
* according to the environment (i.e. if Spring Security is available, "spring" is
* used by default).
* Authentication type. Auto-detected according to the environment (i.e. if
* Spring Security is available, "spring" is used by default).
*/
private String auth = "simple";

6
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java

@ -133,9 +133,9 @@ public class JpaProperties { @@ -133,9 +133,9 @@ public class JpaProperties {
private Class<?> namingStrategy;
/**
* DDL mode ("none", "validate", "update", "create", "create-drop"). This is
* actually a shortcut for the "hibernate.hbm2ddl.auto" property. Default to
* "create-drop" when using an embedded database, "none" otherwise.
* DDL mode. This is actually a shortcut for the "hibernate.hbm2ddl.auto"
* property. Default to "create-drop" when using an embedded database,
* "none" otherwise.
*/
private String ddlAuto;

Loading…
Cancel
Save