From bd19c5ef5bb50dc7772d7bc957c094d4661e354b Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Fri, 2 May 2025 22:20:03 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit plusone-commons 更新至 1.1.0-SNAPSHOT; junit 更新至 5.10.3; 补充 junit-jupiter-engine。 --- pom.xml | 10 ++++++++-- src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 2614ea2..2552e80 100644 --- a/pom.xml +++ b/pom.xml @@ -18,13 +18,19 @@ xyz.zhouxy.plusone plusone-commons - 1.0.0-RC2 + 1.1.0-SNAPSHOT org.junit.jupiter junit-jupiter-api - 5.9.2 + 5.10.3 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.10.3 test diff --git a/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java b/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java index 12c23c5..47448c0 100644 --- a/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java +++ b/src/main/java/xyz/zhouxy/jdbc/ParamBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +46,7 @@ public class ParamBuilder { public static final Object[] EMPTY_OBJECT_ARRAY = {}; public static Object[] buildParams(final Object... params) { - if (ArrayTools.isNullOrEmpty(params)) { + if (ArrayTools.isEmpty(params)) { return EMPTY_OBJECT_ARRAY; } return Arrays.stream(params)