Skip to content

Commit

Permalink
fix spotlessApply errors
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhas Kurapati <prabhask@berkeley.edu>
  • Loading branch information
prabhask5 committed Nov 14, 2023
1 parent 3850e1c commit be57002
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ protected void validateMsg(final AuditMessage msg) throws Exception {
validateJson(msg.toPrettyString());
}

protected void validateJson(final String json) throws Exception { // this function can throw either IllegalArgumentException, JsonMappingException
protected void validateJson(final String json) throws Exception { // this function can throw either IllegalArgumentException,
// JsonMappingException
if (json == null || json.isEmpty()) {
throw new IllegalArgumentException("json is either null or empty");
}
Expand Down

0 comments on commit be57002

Please sign in to comment.