We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb98cc9 + bebe29f commit 2be51e1Copy full SHA for 2be51e1
src/main/java/org/apache/ibatis/jdbc/AbstractSQL.java
@@ -18,6 +18,7 @@
18
import java.io.IOException;
19
import java.util.ArrayList;
20
import java.util.Arrays;
21
+import java.util.Collections;
22
import java.util.List;
23
24
/**
@@ -79,9 +80,7 @@ public T INTO_COLUMNS(String... columns) {
79
80
*/
81
public T INTO_VALUES(String... values) {
82
List<String> list = sql().valuesList.get(sql().valuesList.size() - 1);
- for (String value : values) {
83
- list.add(value);
84
- }
+ Collections.addAll(list, values);
85
return getSelf();
86
}
87
0 commit comments