This is an automated email from the ASF dual-hosted git repository. jmclean pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push: new 68821e34c1 [#6273] improve(CLI): Fix TableFormat properties. (#6286) 68821e34c1 is described below commit 68821e34c18e8648b71b18ba9694be337707a043 Author: Lord of Abyss <103809695+abyss-l...@users.noreply.github.com> AuthorDate: Thu Jan 16 13:11:58 2025 +0800 [#6273] improve(CLI): Fix TableFormat properties. (#6286) ### What changes were proposed in this pull request? Fix TableFormat properties. ### Why are the changes needed? Fix: #6273 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local test. --- .../main/java/org/apache/gravitino/cli/outputs/TableFormat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/cli/src/main/java/org/apache/gravitino/cli/outputs/TableFormat.java b/clients/cli/src/main/java/org/apache/gravitino/cli/outputs/TableFormat.java index c9f502069b..a3c9975652 100644 --- a/clients/cli/src/main/java/org/apache/gravitino/cli/outputs/TableFormat.java +++ b/clients/cli/src/main/java/org/apache/gravitino/cli/outputs/TableFormat.java @@ -111,10 +111,10 @@ public class TableFormat { Pattern.compile( "[\u1100-\u115F\u2E80-\uA4CF\uAC00-\uD7A3\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE6F\uFF00-\uFF60\uFFE0-\uFFE6]"); private int[][] elementOutputWidths; - private final String horizontalDelimiter = "-"; - private final String verticalDelimiter = "|"; - private final String crossDelimiter = "+"; - private final String indent = " "; + private static final String horizontalDelimiter = "-"; + private static final String verticalDelimiter = "|"; + private static final String crossDelimiter = "+"; + private static final String indent = " "; public void debug() { System.out.println();