Skip to content

Commit

Permalink
Blank comment is allowed for metalake and catalog updating.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyoushinya committed Oct 12, 2024
1 parent 8de31cd commit 41d80c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ public UpdateCatalogCommentRequest() {
*/
@Override
public void validate() throws IllegalArgumentException {
Preconditions.checkArgument(
StringUtils.isNotBlank(newComment),
"\"newComment\" field is required and cannot be empty");
return;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ public UpdateMetalakeCommentRequest() {
*/
@Override
public void validate() throws IllegalArgumentException {
Preconditions.checkArgument(
StringUtils.isNotBlank(newComment),
"\"newComment\" field is required and cannot be empty");
return;
}

@Override
Expand Down

0 comments on commit 41d80c9

Please sign in to comment.