From 6164c1650b048e38012c08c98da8e63dbc8b30c9 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Wed, 7 Jun 2023 11:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/xyz/zhouxy/plusone/commons/jdbc/SQL.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SQL.java b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SQL.java index b23f9ff..97192b6 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SQL.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SQL.java @@ -80,7 +80,8 @@ public class SQL extends AbstractSQL { private static String buildQuestionsList(int times) { char[] arr = new char[times * 3 - 2]; - for (int t = 1, i = 0; t <= times; t++) { + int i = 0; + for (int t = 1; t <= times; t++) { arr[i++] = '?'; if (t < times) { arr[i++] = ',';