X Tutup
Skip to content

Commit 6845dc3

Browse files
committed
changing to Object type from native type
1 parent 3aef2d0 commit 6845dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/github/dockerjava/api/command/InspectContainerResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class InspectContainerResponse {
6767
private String name;
6868

6969
@JsonProperty("RestartCount")
70-
private int restartCount;;
70+
private Integer restartCount;
7171

7272
@JsonProperty("NetworkSettings")
7373
private NetworkSettings networkSettings;
@@ -163,7 +163,7 @@ public String getName() {
163163
return name;
164164
}
165165

166-
public int getRestartCount() {
166+
public Integer getRestartCount() {
167167
return restartCount;
168168
}
169169

0 commit comments

Comments
 (0)
X Tutup