You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,8 @@
105
105
106
106
/**
107
107
* A prefix that should be applied to each property. The prefix automatically ends
108
-
* with a dot if not specified.
108
+
* with a dot if not specified. A valid prefix is defined by one or more words
109
+
* separated with dots (e.g. {@code "acme.system.feature"}).
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationProperties.java
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2017 the original author or authors.
2
+
* Copyright 2012-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -43,15 +43,17 @@
43
43
44
44
/**
45
45
* The name prefix of the properties that are valid to bind to this object. Synonym
46
-
* for {@link #prefix()}.
46
+
* for {@link #prefix()}. A valid prefix is defined by one or more words separated
47
+
* with dots (e.g. {@code "acme.system.feature"}).
47
48
* @return the name prefix of the properties to bind
48
49
*/
49
50
@AliasFor("prefix")
50
51
Stringvalue() default"";
51
52
52
53
/**
53
54
* The name prefix of the properties that are valid to bind to this object. Synonym
54
-
* for {@link #value()}.
55
+
* for {@link #value()}. A valid prefix is defined by one or more words separated with
56
+
* dots (e.g. {@code "acme.system.feature"}).
55
57
* @return the name prefix of the properties to bind
0 commit comments