From be43b618349768cc1f2b513ef9eeaeb1ad5d87ff Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 6 Nov 2023 08:30:28 +0100 Subject: [PATCH] Fix include/exclude filters documentation. Closes #2969 --- src/main/asciidoc/repositories.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/asciidoc/repositories.adoc b/src/main/asciidoc/repositories.adoc index 3510c6615..d711a7183 100644 --- a/src/main/asciidoc/repositories.adoc +++ b/src/main/asciidoc/repositories.adoc @@ -777,20 +777,20 @@ ifeval::[{include-xml-namespaces} != false] [source,xml,role="secondary"] ---- - - + + ---- endif::[] ==== -The preceding example excludes all interfaces ending in `SomeRepository` from being instantiated and includes those ending with `SomeOtherRepository`. +The preceding example includes all interfaces ending with `SomeRepository` and excludes those ending with `SomeOtherRepository` from being instantiated. [[repositories.create-instances.standalone]] === Standalone Usage -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: +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: .Standalone usage of the repository factory ====