Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] add indent from 2 to 4 spaces in the Mapping page. #1948

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/antora/modules/ROOT/pages/jdbc/mapping.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class MyJdbcConfiguration extends AbstractJdbcConfiguration {

@Override
protected List<?> userConverters() {
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
return Arrays.asList(new BooleanToStringConverter(), new StringToBooleanConverter());
}

}
Expand Down
18 changes: 9 additions & 9 deletions src/main/antora/modules/ROOT/partials/mapping.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,16 @@ This works only if the parameter name information is present in the Java `.class
----
class OrderItem {

private @Id final String id;
private final int quantity;
private final double unitPrice;
private @Id final String id;
private final int quantity;
private final double unitPrice;

OrderItem(String id, int quantity, double unitPrice) {
this.id = id;
this.quantity = quantity;
this.unitPrice = unitPrice;
}
OrderItem(String id, int quantity, double unitPrice) {
this.id = id;
this.quantity = quantity;
this.unitPrice = unitPrice;
}

// getters/setters omitted
// getters/setters omitted
}
----