Skip to content

Commit

Permalink
Addressing review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
chipkent committed Mar 18, 2024
1 parent d186a80 commit 04f1b5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engine/function/src/templates/Sort.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public class Sort {
}

if (values.isEmpty()) {
return new int[]{};
return new int[0];
}

return IntStream.range(0, values.intSize("rank"))
Expand Down Expand Up @@ -327,7 +327,7 @@ public class Sort {
}

if (values.isEmpty()) {
return new int[]{};
return new int[0];
}

return IntStream.range(0, values.intSize("rank"))
Expand Down Expand Up @@ -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];
Expand Down Expand Up @@ -434,7 +434,7 @@ public class Sort {
}

if (values.isEmpty()) {
return new int[]{};
return new int[0];
}

return IntStream.range(0, values.intSize("rank"))
Expand Down

0 comments on commit 04f1b5b

Please sign in to comment.