Skip to content

Commit 504ec85

Browse files
wiliamjcjtimols
authored andcommitted
adjusting getters return type (timols#330)
1 parent 0406a7f commit 504ec85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/gitlab/api/models/GitlabMergeRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ public void setLabels(String[] labels) {
251251
this.labels = labels;
252252
}
253253

254-
public int getUpvotes() {
254+
public Integer getUpvotes() {
255255
return upvotes;
256256
}
257257

258258
public void setUpvotes(int upvotes) {
259259
this.upvotes = upvotes;
260260
}
261261

262-
public int getDownvotes() {
262+
public Integer getDownvotes() {
263263
return downvotes;
264264
}
265265

@@ -352,7 +352,7 @@ public Boolean isShouldRemoveSourceBranch() {
352352
return shouldRemoveSourceBranch;
353353
}
354354

355-
public boolean isForceRemoveSourceBranch() {
355+
public Boolean isForceRemoveSourceBranch() {
356356
return forceRemoveSourceBranch;
357357
}
358358

0 commit comments

Comments
 (0)