From 04f1b5b3f40ff046d107c6ce3d0e61949d3a0da0 Mon Sep 17 00:00:00 2001 From: Chip Kent Date: Mon, 18 Mar 2024 14:28:33 -0600 Subject: [PATCH] Addressing review comments. --- engine/function/src/templates/Sort.ftl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/function/src/templates/Sort.ftl b/engine/function/src/templates/Sort.ftl index 718b076b217..3066910b449 100644 --- a/engine/function/src/templates/Sort.ftl +++ b/engine/function/src/templates/Sort.ftl @@ -211,7 +211,7 @@ public class Sort { } if (values.isEmpty()) { - return new int[]{}; + return new int[0]; } return IntStream.range(0, values.intSize("rank")) @@ -327,7 +327,7 @@ public class Sort { } if (values.isEmpty()) { - return new int[]{}; + return new int[0]; } return IntStream.range(0, values.intSize("rank")) @@ -361,7 +361,7 @@ public class Sort { } if (values.length == 0) { - return new int[]{}; + return new int[0]; } final ${pt.primitive}[] vs = new ${pt.primitive}[values.length]; @@ -434,7 +434,7 @@ public class Sort { } if (values.isEmpty()) { - return new int[]{}; + return new int[0]; } return IntStream.range(0, values.intSize("rank"))