Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarVO7 committed Oct 25, 2023
1 parent d9293a7 commit 2e2370f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public List<Object> aggregate() throws ParseException {
Double total = used + unused;
Double usedPercentage = 0.0;
Double unusedPercentage = 0.0;
if(total != 0){
if (total != 0.0) {
usedPercentage = used / total;
unusedPercentage = unused / total;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public List<Object> aggregate() throws ParseException {
Double total = used + unused;
Double usedPercentage = 0.0;
Double unusedPercentage = 0.0;
if(total != 0){
if (total != 0.0) {
usedPercentage = used / total;
unusedPercentage = unused / total;
}
Expand Down

0 comments on commit 2e2370f

Please sign in to comment.