Skip to content

Commit

Permalink
Fix gitlab4j#805 Increase CommitStatus id from Integer to Long
Browse files Browse the repository at this point in the history
  • Loading branch information
pnyheim committed Mar 1, 2022
1 parent 5335c9e commit e36455d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/gitlab4j/api/models/CommitStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class CommitStatus {
private Date createdAt;
private String description;
private Date finishedAt;
private Integer id;
private Long id;
private String name;
private String ref;
private String sha;
Expand Down Expand Up @@ -69,11 +69,11 @@ public void setFinishedAt(Date finishedAt) {
this.finishedAt = finishedAt;
}

public Integer getId() {
public Long getId() {
return id;
}

public void setId(Integer id) {
public void setId(Long id) {
this.id = id;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/org/gitlab4j/api/commit-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"sha" : "18f3e63d05582537db6d183d9d557be09e1f90c8",
"target_url" : "https://gitlab.example.com/thedude/gitlab-ce/builds/91",
"finished_at" : "2016-01-19T08:40:25.934Z",
"id" : 91,
"id" : 2148826854,
"ref" : "master"
}

0 comments on commit e36455d

Please sign in to comment.