Skip to content

Commit be43b61

Browse files
committed
Fix include/exclude filters documentation.
Closes #2969
1 parent af3f2d6 commit be43b61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/asciidoc/repositories.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -777,20 +777,20 @@ ifeval::[{include-xml-namespaces} != false]
777777
[source,xml,role="secondary"]
778778
----
779779
<repositories base-package="com.acme.repositories">
780-
<context:exclude-filter type="regex" expression=".*SomeRepository" />
781-
<context:include-filter type="regex" expression=".*SomeOtherRepository" />
780+
<context:include-filter type="regex" expression=".*SomeRepository" />
781+
<context:exclude-filter type="regex" expression=".*SomeOtherRepository" />
782782
</repositories>
783783
----
784784
endif::[]
785785
====
786786

787-
The preceding example excludes all interfaces ending in `SomeRepository` from being instantiated and includes those ending with `SomeOtherRepository`.
787+
The preceding example includes all interfaces ending with `SomeRepository` and excludes those ending with `SomeOtherRepository` from being instantiated.
788788

789789

790790
[[repositories.create-instances.standalone]]
791791
=== Standalone Usage
792792

793-
You can also use the repository infrastructure outside of a Spring container -- for example, in CDI environments. You still need some Spring libraries in your classpath, but, generally, you can set up repositories programmatically as well. The Spring Data modules that provide repository support ship with a persistence technology-specific `RepositoryFactory` that you can use, as follows:
793+
You can also use the repository infrastructure outside of a Spring container -- for example, in CDI environments.You still need some Spring libraries in your classpath, but, generally, you can set up repositories programmatically as well.The Spring Data modules that provide repository support ship with a persistence technology-specific `RepositoryFactory` that you can use, as follows:
794794

795795
.Standalone usage of the repository factory
796796
====

0 commit comments

Comments
 (0)