Skip to content

Commit 3a8b807

Browse files
committed
Fix Errors & Warnings
1 parent c8274d7 commit 3a8b807

10 files changed

+251
-263
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ src/ant/.ant-targets-upload-dist.xml
1414
*.ipr
1515
*.iws
1616
/.idea/
17-
*.graphml
17+
*.graphml
18+
node
19+
node_modules
20+
package-lock.json
21+
package.json

modules/ROOT/nav.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
** xref:repositories/custom-implementations.adoc[]
1212
** xref:repositories/core-domain-events.adoc[]
1313
** xref:repositories/core-extensions.adoc[]
14-
* xref:repositories-paging-sorting.adoc[]
1514
* xref:repositories-scrolling.adoc[]
1615
* xref:repositories-null-handling.adoc[]
1716
* xref:repository-projections.adoc[]

modules/ROOT/pages/custom-conversions.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
= Custom Conversions
2+
13
The following example of a Spring `Converter` implementation converts from a `String` to a custom `Email` value object:
24

35
[source,java,subs="verbatim,attributes"]
@@ -25,7 +27,7 @@ Converters are subject to explicit registration as instances are not picked up f
2527
NOTE: Default converters for local temporal types (e.g. `LocalDateTime` to `java.util.Date`) rely on system-default timezone settings to convert between those types. You can override the default converter, by registering your own converter.
2628

2729
[[customconversions.converter-disambiguation]]
28-
= Converter Disambiguation
30+
== Converter Disambiguation
2931

3032
Generally, we inspect the `Converter` implementations for the source and target types they convert from and to.
3133
Depending on whether one of those is a type the underlying data access API can handle natively, we register the converter instance as a reading or a writing converter.

modules/ROOT/pages/dependencies.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Due to the different inception dates of individual Spring Data modules, most of
2424
[[dependencies.train-names]]
2525
[[dependencies.train-version]]
2626
The current release train version is `{releasetrainVersion}`. The train version uses https://calver.org/[calver] with the pattern `YYYY.MINOR.MICRO`.
27-
The version name follows `${calver}` for GA releases and service releases and the following pattern for all other versions: `${calver}-${modifier}`, where `modifier` can be one of the following:
27+
The version name follows `+${calver}+` for GA releases and service releases and the following pattern for all other versions: `+${calver}-${modifier}+`, where `modifier` can be one of the following:
2828

2929
* `SNAPSHOT`: Current snapshots
3030
* `M1`, `M2`, and so on: Milestones

modules/ROOT/pages/entity-callbacks.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public interface BeforeSaveCallback<T> extends EntityCallback<T> {
3636
*
3737
* @return the domain object to be persisted.
3838
*/
39-
T onBeforeSave(T entity <2>, String collection <3>); <1>
39+
// <1>
40+
T onBeforeSave(T entity, // <2>
41+
String collection); // <3>
4042
}
4143
----
4244
<1> `BeforeSaveCallback` specific method to be called before an entity is saved. Returns a potentially modifed instance.
@@ -57,7 +59,9 @@ public interface ReactiveBeforeSaveCallback<T> extends EntityCallback<T> {
5759
*
5860
* @return Publisher emitting the domain object to be persisted.
5961
*/
60-
Publisher<T> onBeforeSave(T entity <2>, String collection <3>); <1>
62+
// <1>
63+
Publisher<T> onBeforeSave(T entity, // <2>
64+
String collection); // <3>
6165
}
6266
----
6367
<1> `BeforeSaveCallback` specific method to be called on subscription, before an entity is saved. Emits a potentially modifed instance.

modules/ROOT/pages/index.adoc

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[spring-data-commons-reference-documentation]]
2-
= Spring Data Commons - Reference Documentation
2+
= Spring Data Commons
33
Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Pollack; Thomas Risberg; Mark Paluch; Jay Bryant
44
:revnumber: {version}
55
:revdate: {localdate}
@@ -9,24 +9,3 @@ ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1
99
(C) 2008-2022 The original authors.
1010

1111
NOTE: Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
12-
13-
14-
[[reference-documentation]]
15-
= Reference Documentation
16-
17-
:leveloffset: +1
18-
19-
20-
21-
22-
23-
24-
25-
:leveloffset: -1
26-
27-
[[appendix]]
28-
= Appendices
29-
30-
:numbered!:
31-
:leveloffset: +1
32-
:leveloffset: -1

modules/ROOT/pages/repositories-paging-sorting.adoc

Lines changed: 0 additions & 231 deletions
This file was deleted.

modules/ROOT/pages/repositories-scrolling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Scrolling is a more fine-grained approach to iterate through larger results set chunks.
55
Scrolling consists of a stable sort, a scroll type (Offset- or Keyset-based scrolling) and result limiting.
6-
You can define simple sorting expressions by using property names and define static result limiting using the xref:repositories-paging-sorting.adoc#repositories.limit-query-result[`Top` or `First` keyword] through query derivation.
6+
You can define simple sorting expressions by using property names and define static result limiting using the xref:repositories/query-methods-details.adoc#repositories.limit-query-result[`Top` or `First` keyword] through query derivation.
77
You can concatenate expressions to collect multiple criteria into one expression.
88

99
Scroll queries return a `Window<T>` that allows obtaining the scroll position to resume to obtain the next `Window<T>` until your application has consumed the entire query result.

modules/ROOT/pages/repositories/core-extensions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Its `customize()` method gets called, letting you change settings, as the follow
182182
If setting the properties of an existing `MethodArgumentResolver` is not sufficient for your purpose, extend either `SpringDataWebConfiguration` or the HATEOAS-enabled equivalent, override the `pageableResolver()` or `sortResolver()` methods, and import your customized configuration file instead of using the `@Enable` annotation.
183183

184184
If you need multiple `Pageable` or `Sort` instances to be resolved from the request (for multiple tables, for example), you can use Spring's `@Qualifier` annotation to distinguish one from another.
185-
The request parameters then have to be prefixed with `${qualifier}_`.
185+
The request parameters then have to be prefixed with `+${qualifier}_+`.
186186
The following example shows the resulting method signature:
187187

188188
====

0 commit comments

Comments
 (0)