Skip to content

Commit 90b0223

Browse files
committed
Checkstyle Fixes
1 parent 4eeb56f commit 90b0223

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/main/java/org/mybatis/dynamic/sql/util/SqlProviderAdapter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public String insertMultipleWithGeneratedKeys(Map<String, Object> parameterMap)
8080
if (entries.size() == 1) {
8181
return entries.get(0);
8282
} else {
83-
throw new IllegalArgumentException("The parameters for insertMultipleWithGeneratedKeys" + //$NON-NLS-1$
84-
" must contain exactly one parameter of type String"); //$NON-NLS-1$
83+
throw new IllegalArgumentException("The parameters for insertMultipleWithGeneratedKeys" //$NON-NLS-1$
84+
+ " must contain exactly one parameter of type String"); //$NON-NLS-1$
8585
}
8686
}
8787

src/main/java/org/mybatis/dynamic/sql/where/condition/IsInCaseInsensitive.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ protected IsInCaseInsensitive(Collection<String> values, Callback emptyCallback
4444

4545
@Override
4646
public String renderCondition(String columnName, Stream<String> placeholders) {
47-
return "upper(" + columnName + ") " + //$NON-NLS-1$ //$NON-NLS-2$
48-
placeholders.collect(Collectors.joining(",", "in (", ")")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
47+
return "upper(" + columnName + ") " //$NON-NLS-1$ //$NON-NLS-2$
48+
+ placeholders.collect(
49+
Collectors.joining(",", "in (", ")")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
4950
}
5051

5152
@Override

src/main/java/org/mybatis/dynamic/sql/where/condition/IsNotInCaseInsensitive.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ protected IsNotInCaseInsensitive(Collection<String> values, Callback emptyCallba
4444

4545
@Override
4646
public String renderCondition(String columnName, Stream<String> placeholders) {
47-
return "upper(" + columnName + ") " + //$NON-NLS-1$ //$NON-NLS-2$
48-
placeholders.collect(
47+
return "upper(" + columnName + ") " //$NON-NLS-1$ //$NON-NLS-2$
48+
+ placeholders.collect(
4949
Collectors.joining(",", "not in (", ")")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
5050
}
5151

0 commit comments

Comments
 (0)