Clarify structure of prefixes

Closes gh-14258
This commit is contained in:
Stephane Nicoll
2018-08-31 15:23:53 +02:00
parent 6d637bc53b
commit ea2fb620b4
2 changed files with 7 additions and 4 deletions

View File

@@ -105,7 +105,8 @@ public @interface ConditionalOnProperty {
/**
* A prefix that should be applied to each property. The prefix automatically ends
* with a dot if not specified.
* with a dot if not specified. A valid prefix is defined by one or more words
* separated with dots (e.g. {@code "acme.system.feature"}).
* @return the prefix
*/
String prefix() default "";