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)