Skip to content

Commit 57bda9d

Browse files
authored
Merge pull request #806 from pnyheim/fix-commitstatus-id
Fix #805 Increase CommitStatus id from Integer to Long
2 parents 5335c9e + e36455d commit 57bda9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/gitlab4j/api/models/CommitStatus.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class CommitStatus {
1313
private Date createdAt;
1414
private String description;
1515
private Date finishedAt;
16-
private Integer id;
16+
private Long id;
1717
private String name;
1818
private String ref;
1919
private String sha;
@@ -69,11 +69,11 @@ public void setFinishedAt(Date finishedAt) {
6969
this.finishedAt = finishedAt;
7070
}
7171

72-
public Integer getId() {
72+
public Long getId() {
7373
return id;
7474
}
7575

76-
public void setId(Integer id) {
76+
public void setId(Long id) {
7777
this.id = id;
7878
}
7979

src/test/resources/org/gitlab4j/api/commit-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"sha" : "18f3e63d05582537db6d183d9d557be09e1f90c8",
1717
"target_url" : "https://gitlab.example.com/thedude/gitlab-ce/builds/91",
1818
"finished_at" : "2016-01-19T08:40:25.934Z",
19-
"id" : 91,
19+
"id" : 2148826854,
2020
"ref" : "master"
2121
}

0 commit comments

Comments
 (0)