Skip to content

Commit 8e96dce

Browse files
arend-von-reinersdorffmp911de
authored andcommitted
Add missing space in reference documentation.
Closes #2628
1 parent d364afd commit 8e96dce

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/main/asciidoc/repositories.adoc

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,8 @@ class CustomizedUserRepositoryImpl implements CustomizedUserRepository {
10091009

10101010
NOTE: The most important part of the class name that corresponds to the fragment interface is the `Impl` postfix.
10111011

1012-
The implementation itself does not depend on Spring Data and can be a regular Spring bean.Consequently, you can use standard dependency injection behavior to inject references to other beans (such as a `JdbcTemplate`), take part in aspects, and so on.
1012+
The implementation itself does not depend on Spring Data and can be a regular Spring bean.
1013+
Consequently, you can use standard dependency injection behavior to inject references to other beans (such as a `JdbcTemplate`), take part in aspects, and so on.
10131014

10141015
Then you can let your repository interface extend the fragment interface, as follows:
10151016

@@ -1026,7 +1027,10 @@ interface UserRepository extends CrudRepository<User, Long>, CustomizedUserRepos
10261027

10271028
Extending the fragment interface with your repository interface combines the CRUD and custom functionality and makes it available to clients.
10281029

1029-
Spring Data repositories are implemented by using fragments that form a repository composition. Fragments are the base repository, functional aspects (such as <<core.extensions.querydsl,QueryDsl>>), and custom interfaces along with their implementations. Each time you add an interface to your repository interface, you enhance the composition by adding a fragment. The base repository and repository aspect implementations are provided by each Spring Data module.
1030+
Spring Data repositories are implemented by using fragments that form a repository composition.
1031+
Fragments are the base repository, functional aspects (such as <<core.extensions.querydsl,QueryDsl>>), and custom interfaces along with their implementations.
1032+
Each time you add an interface to your repository interface, you enhance the composition by adding a fragment.
1033+
The base repository and repository aspect implementations are provided by each Spring Data module.
10301034

10311035
The following example shows custom interfaces and their implementations:
10321036

@@ -1078,7 +1082,11 @@ interface UserRepository extends CrudRepository<User, Long>, HumanRepository, Co
10781082
----
10791083
====
10801084

1081-
Repositories may be composed of multiple custom implementations that are imported in the order of their declaration. Custom implementations have a higher priority than the base implementation and repository aspects. This ordering lets you override base repository and aspect methods and resolves ambiguity if two fragments contribute the same method signature. Repository fragments are not limited to use in a single repository interface. Multiple repositories may use a fragment interface, letting you reuse customizations across different repositories.
1085+
Repositories may be composed of multiple custom implementations that are imported in the order of their declaration.
1086+
Custom implementations have a higher priority than the base implementation and repository aspects.
1087+
This ordering lets you override base repository and aspect methods and resolves ambiguity if two fragments contribute the same method signature.
1088+
Repository fragments are not limited to use in a single repository interface.
1089+
Multiple repositories may use a fragment interface, letting you reuse customizations across different repositories.
10821090

10831091
The following example shows a repository fragment and its implementation:
10841092

0 commit comments

Comments
 (0)