From 8c67c790eb234a810dc98a8362ee4c12a52b2803 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 7bfa1dc9b..198a6922b 100644 --- a/src/main/asciidoc/repositories.adoc +++ b/src/main/asciidoc/repositories.adoc @@ -979,20 +979,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 ====