From 96f8ee25fed30122c0033eba4bf03c014fee41ea Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 6 Nov 2023 08:29:44 +0100 Subject: [PATCH] Fix include/exclude filters documentation. Closes #2969 --- .../ROOT/pages/repositories/create-instances.adoc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc b/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc index 35fd98e69..6a800e5ec 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/create-instances.adoc @@ -94,20 +94,18 @@ XML:: [source,xml,role="secondary"] ---- - - + + ---- ====== - -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 [source,java]