Skip to content

Commit 822b8b1

Browse files
authored
Merge pull request #648 from Azquelt/removed-deprecated-call
Remove call to deprecated Integer constructor
2 parents e4fa353 + 90395a6 commit 822b8b1

File tree

1 file changed

+1
-1
lines changed
  • tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/data

1 file changed

+1
-1
lines changed

tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/data/PetData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public Map<String, Integer> getInventoryByStatus() {
140140
if (status != null && !"".equals(status)) {
141141
Integer count = output.get(status);
142142
if (count == null) {
143-
count = new Integer(1);
143+
count = 1;
144144
} else {
145145
count = count.intValue() + 1;
146146
}

0 commit comments

Comments
 (0)