Skip to content

Commit 6f2de28

Browse files
committed
Doc: base-packages can be comma/semicolon/space/tab/linefeed-separated
Issue: SPR-12523
1 parent 0919a15 commit 6f2de28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-context/src/main/resources/org/springframework/context/config/spring-context-4.0.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
use="required">
236236
<xsd:annotation>
237237
<xsd:documentation><![CDATA[
238-
The comma-separated list of packages to scan for annotated components.
238+
The comma/semicolon/space/tab/linefeed-separated list of packages to scan for annotated components.
239239
]]></xsd:documentation>
240240
</xsd:annotation>
241241
</xsd:attribute>

spring-context/src/main/resources/org/springframework/context/config/spring-context-4.1.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
use="required">
236236
<xsd:annotation>
237237
<xsd:documentation><![CDATA[
238-
The comma-separated list of packages to scan for annotated components.
238+
The comma/semicolon/space/tab/linefeed-separated list of packages to scan for annotated components.
239239
]]></xsd:documentation>
240240
</xsd:annotation>
241241
</xsd:attribute>

src/asciidoc/index.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6265,7 +6265,7 @@ are eligible for such autodetection:
62656265
To autodetect these classes and register the corresponding beans, you need to add
62666266
`@ComponentScan` to your `@Configuration` class, where the `basePackages` attribute
62676267
is a common parent package for the two classes. (Alternatively, you can specify a
6268-
comma-separated list that includes the parent package of each class.)
6268+
comma/semicolon/space-separated list that includes the parent package of each class.)
62696269

62706270
[source,java,indent=0]
62716271
[subs="verbatim,quotes"]

0 commit comments

Comments
 (0)