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 99a999a1e [#5772] fix: missing param <T> (#5776)
99a999a1e is described below

commit 99a999a1ea05cf8d82df4a14788ce4ab46a52946
Author: Jimmy Lee <55496001+wau...@users.noreply.github.com>
AuthorDate: Fri Dec 6 06:09:54 2024 +0800

    [#5772] fix: missing param <T> (#5776)
    
    ### What changes were proposed in this pull request?
    
    Missing param `<T>` is added to the `output` method of `Command.java`.
    
    ### Why are the changes needed?
    
    Fix: https://github.com/apache/gravitino/issues/5772
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    To verify, please run the following command:
    ```
    ./gradlew clean build -x test
    ```
    After running this command, the warning `no @param for <T>` will no
    longer appear.
---
 clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java 
b/clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java
index cffc833c7..66143ceb4 100644
--- a/clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java
+++ b/clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java
@@ -151,6 +151,7 @@ public abstract class Command {
    * Outputs the entity to the console.
    *
    * @param entity The entity to output.
+   * @param <T> The type of entity.
    */
   protected <T> void output(T entity) {
     if (outputFormat == null) {

Reply via email to