Skip to content

Commit e4ba477

Browse files
committed
Fix indentation in code examples.
Fixes the indentation to 4 characters in all code examples in *.adoc files that so far used tabs. Original pull request #1948
1 parent e651a56 commit e4ba477

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/main/antora/modules/ROOT/pages/jdbc/events.adoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ For example, the following listener gets invoked before an aggregate gets saved:
1818
@Bean
1919
ApplicationListener<BeforeSaveEvent<Object>> loggingSaves() {
2020
21-
return event -> {
21+
return event -> {
2222
23-
Object entity = event.getEntity();
24-
LOG.info("{} is getting saved.", entity);
25-
};
23+
Object entity = event.getEntity();
24+
LOG.info("{} is getting saved.", entity);
25+
};
2626
}
2727
----
2828

@@ -33,10 +33,10 @@ Callback methods will only get invoked for events related to the domain type and
3333
----
3434
class PersonLoadListener extends AbstractRelationalEventListener<Person> {
3535
36-
@Override
37-
protected void onAfterLoad(AfterLoadEvent<Person> personLoad) {
36+
@Override
37+
protected void onAfterLoad(AfterLoadEvent<Person> personLoad) {
3838
LOG.info(personLoad.getEntity());
39-
}
39+
}
4040
}
4141
----
4242

src/main/antora/modules/ROOT/pages/jdbc/mapping.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ If you want a completely different way of naming these back references you may i
118118
[source,java]
119119
----
120120
class Person {
121-
@Id long id;
122-
AggregateReference<Person, Long> bestFriend;
121+
@Id long id;
122+
AggregateReference<Person, Long> bestFriend;
123123
}
124124
125125
// ...

0 commit comments

Comments
 (0)