Skip to content

Commit 3143eaa

Browse files
fResultschauder
authored andcommitted
Fix indent from 2 to 4 spaces in the Mapping page.
- `Customized Object Construction` section - `Registering Spring Converters with the \'JdbcConverter\'` section Original pull request #1948
1 parent c77a59f commit 3143eaa

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
@@ -197,7 +197,7 @@ class MyJdbcConfiguration extends AbstractJdbcConfiguration {
197197
198198
@Override
199199
protected List<?> userConverters() {
200-
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
200+
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
201201
}
202202
203203
}

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)