From 3aefdaa81be1d498579adbc171356dcbd090a0c5 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 8 Sep 2021 12:41:22 -0700 Subject: [PATCH] Cleanup compiler warnings. Format source code. --- .../data/gemfire/tests/process/ProcessExecutor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process/ProcessExecutor.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process/ProcessExecutor.java index 89f3855..dd19978 100644 --- a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process/ProcessExecutor.java +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process/ProcessExecutor.java @@ -13,7 +13,6 @@ * or implied. See the License for the specific language governing * permissions and limitations under the License. */ - package org.springframework.data.gemfire.tests.process; import static org.springframework.data.gemfire.util.ArrayUtils.nullSafeArray; @@ -102,7 +101,7 @@ public abstract class ProcessExecutor { command.add(type.getName()); command.addAll(programArguments); - return command.toArray(new String[command.size()]); + return command.toArray(new String[0]); } protected static Collection getSpringGemFireSystemProperties() {