You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "zhoulii (via GitHub)" <gi...@apache.org> on 2023/04/17 16:15:59 UTC

[GitHub] [incubator-streampark] zhoulii commented on a diff in pull request #2647: [Improve] check permissions improvement

zhoulii commented on code in PR #2647:
URL: https://github.com/apache/incubator-streampark/pull/2647#discussion_r1168971046


##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java:
##########
@@ -57,4 +57,10 @@ public static void throwIfFalse(boolean expression, String errorMessage) {
       throw new ApiAlertException(errorMessage);
     }
   }
+
+  public static void throwIfTrue(boolean expression, String errorMessage) {

Review Comment:
   Great, we really need this method,



-- 
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: issues-unsubscribe@streampark.apache.org

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