Skip to content

Commit acdecb4

Browse files
authored
Merge pull request #287 from jeffgbutler/master
Checkstyle updates
2 parents 2e1d62d + c33132a commit acdecb4

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

checkstyle-override.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<message key="ws.notPreceded"
9090
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
9191
</module>
92+
<module name="WhitespaceAfter"/>
9293
<module name="OneStatementPerLine"/>
9394
<module name="MultipleVariableDeclarations"/>
9495
<module name="ArrayTypeStyle"/>

src/main/java/org/mybatis/dynamic/sql/AbstractListValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public <R> R accept(ConditionVisitor<T, R> visitor) {
5959

6060
public abstract String renderCondition(String columnName, Stream<String> placeholders);
6161

62-
public abstract static class AbstractListConditionBuilder<T, S extends AbstractListConditionBuilder<T,S>> {
62+
public abstract static class AbstractListConditionBuilder<T, S extends AbstractListConditionBuilder<T, S>> {
6363
protected Collection<T> values = new ArrayList<>();
6464
protected UnaryOperator<Stream<T>> valueStreamTransformer = UnaryOperator.identity();
6565
protected Callback emptyCallback = () -> { };

src/main/java/org/mybatis/dynamic/sql/AbstractNoValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public boolean shouldRender() {
3636
}
3737

3838
@Override
39-
public <R> R accept(ConditionVisitor<T,R> visitor) {
39+
public <R> R accept(ConditionVisitor<T, R> visitor) {
4040
return visitor.visit(this);
4141
}
4242

src/main/java/org/mybatis/dynamic/sql/AbstractSingleValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public boolean shouldRender() {
4343
}
4444

4545
@Override
46-
public <R> R accept(ConditionVisitor<T,R> visitor) {
46+
public <R> R accept(ConditionVisitor<T, R> visitor) {
4747
return visitor.visit(this);
4848
}
4949

src/main/java/org/mybatis/dynamic/sql/AbstractTwoValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public boolean shouldRender() {
5151
}
5252

5353
@Override
54-
public <R> R accept(ConditionVisitor<T,R> visitor) {
54+
public <R> R accept(ConditionVisitor<T, R> visitor) {
5555
return visitor.visit(this);
5656
}
5757

src/main/java/org/mybatis/dynamic/sql/VisitableCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@FunctionalInterface
1919
public interface VisitableCondition<T> {
20-
<R> R accept(ConditionVisitor<T,R> visitor);
20+
<R> R accept(ConditionVisitor<T, R> visitor);
2121

2222
/**
2323
* Subclasses can override this to inform the renderer if the condition should not be included

src/main/java/org/mybatis/dynamic/sql/util/mybatis3/MyBatis3Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public static <R> R selectOne(Function<SelectStatementProvider, R> mapper,
176176
}
177177

178178
public static <R> R selectOne(Function<SelectStatementProvider, R> mapper,
179-
QueryExpressionDSL<SelectModel> start,SelectDSLCompleter completer) {
179+
QueryExpressionDSL<SelectModel> start, SelectDSLCompleter completer) {
180180
return mapper.apply(select(start, completer));
181181
}
182182

0 commit comments

Comments
 (0)