|
10 | 10 | * This record encapsulates the SQL builder settings used by Doma in a Spring Boot application. |
11 | 11 | */ |
12 | 12 | public record DomaSpringBootSqlBuilderSettings( |
13 | | - Predicate<String> shouldRemoveBlockComment, |
14 | | - Predicate<String> shouldRemoveLineComment, |
15 | | - boolean shouldRemoveBlankLines, |
16 | | - boolean shouldRequireInListPadding) implements SqlBuilderSettings { |
| 13 | + Predicate<String> shouldRemoveBlockComment, |
| 14 | + Predicate<String> shouldRemoveLineComment, |
| 15 | + boolean shouldRemoveBlankLines, |
| 16 | + boolean shouldRequireInListPadding) implements SqlBuilderSettings { |
17 | 17 |
|
18 | | - @Override |
19 | | - public boolean shouldRemoveBlockComment(String comment) { |
20 | | - return shouldRemoveBlockComment.test(comment); |
21 | | - } |
| 18 | + @Override |
| 19 | + public boolean shouldRemoveBlockComment(String comment) { |
| 20 | + return shouldRemoveBlockComment.test(comment); |
| 21 | + } |
22 | 22 |
|
23 | | - @Override |
24 | | - public boolean shouldRemoveLineComment(String comment) { |
25 | | - return shouldRemoveLineComment.test(comment); |
26 | | - } |
| 23 | + @Override |
| 24 | + public boolean shouldRemoveLineComment(String comment) { |
| 25 | + return shouldRemoveLineComment.test(comment); |
| 26 | + } |
27 | 27 |
|
28 | | - @Override |
29 | | - public boolean shouldRemoveBlankLines() { |
30 | | - return shouldRemoveBlankLines; |
31 | | - } |
| 28 | + @Override |
| 29 | + public boolean shouldRemoveBlankLines() { |
| 30 | + return shouldRemoveBlankLines; |
| 31 | + } |
32 | 32 |
|
33 | | - @Override |
34 | | - public boolean shouldRequireInListPadding() { |
35 | | - return shouldRequireInListPadding; |
36 | | - } |
| 33 | + @Override |
| 34 | + public boolean shouldRequireInListPadding() { |
| 35 | + return shouldRequireInListPadding; |
| 36 | + } |
37 | 37 | } |
0 commit comments