Skip to content

Commit

Permalink
Merge pull request #648 from Azquelt/removed-deprecated-call
Browse files Browse the repository at this point in the history
Remove call to deprecated Integer constructor
  • Loading branch information
Azquelt authored Jun 21, 2024
2 parents e4fa353 + 90395a6 commit 822b8b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public Map<String, Integer> getInventoryByStatus() {
if (status != null && !"".equals(status)) {
Integer count = output.get(status);
if (count == null) {
count = new Integer(1);
count = 1;
} else {
count = count.intValue() + 1;
}
Expand Down

0 comments on commit 822b8b1

Please sign in to comment.