You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/05/30 10:42:03 UTC

[GitHub] [incubator-kyuubi] ulysses-you commented on a diff in pull request #2779: [KYUUBI #2643][FOLLOWUP] Refine the rest sdk

ulysses-you commented on code in PR #2779:
URL: https://github.com/apache/incubator-kyuubi/pull/2779#discussion_r884688856


##########
kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/BatchRestApi.java:
##########
@@ -32,6 +32,8 @@ public class BatchRestApi {
 
   private static final String API_BASE_PATH = "batches";
 
+  private BatchRestApi() {}

Review Comment:
   The default constructor will cause npe since the client is not set, that means we must call the constructor which hold the KyuubiRestClient



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org