Skip to content

Commit

Permalink
improve code len
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaskriya committed Feb 6, 2025
1 parent 61d476b commit 5040aec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ private String constructCommandAuditMap(List<SCMCommandProto> cmds) {
}
int len = auditMap.length();
if (len > 2) {
auditMap.delete(len - 2, len - 1);
auditMap.delete(len - 2, len);
}
auditMap.append(']');
auditMap.append("]");
return auditMap.toString();
}

Expand Down

0 comments on commit 5040aec

Please sign in to comment.