Skip to content

Commit 69748c9

Browse files
committed
Fix indent from 2 to 4 spaces in the Mapping page.
- `Customized Object Construction` section - `Registering Spring Converters with the \'JdbcConverter\'` section
1 parent 66466e8 commit 69748c9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class MyJdbcConfiguration extends AbstractJdbcConfiguration {
198198
199199
@Override
200200
protected List<?> userConverters() {
201-
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
201+
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
202202
}
203203
204204
}

src/main/antora/modules/ROOT/partials/mapping.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,16 +182,16 @@ This works only if the parameter name information is present in the Java `.class
182182
----
183183
class OrderItem {
184184
185-
private @Id final String id;
186-
private final int quantity;
187-
private final double unitPrice;
185+
private @Id final String id;
186+
private final int quantity;
187+
private final double unitPrice;
188188
189-
OrderItem(String id, int quantity, double unitPrice) {
190-
this.id = id;
191-
this.quantity = quantity;
192-
this.unitPrice = unitPrice;
193-
}
189+
OrderItem(String id, int quantity, double unitPrice) {
190+
this.id = id;
191+
this.quantity = quantity;
192+
this.unitPrice = unitPrice;
193+
}
194194
195-
// getters/setters omitted
195+
// getters/setters omitted
196196
}
197197
----

0 commit comments

Comments
 (0)