Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
e36455d5
Commit
e36455d5
authored
3 years ago
by
Paul Nyheim
Browse files
Options
Download
Email Patches
Plain Diff
Fix gitlab4j#805 Increase CommitStatus id from Integer to Long
parent
5335c9e2
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/gitlab4j/api/models/CommitStatus.java
+3
-3
src/main/java/org/gitlab4j/api/models/CommitStatus.java
src/test/resources/org/gitlab4j/api/commit-status.json
+1
-1
src/test/resources/org/gitlab4j/api/commit-status.json
with
4 additions
and
4 deletions
+4
-4
src/main/java/org/gitlab4j/api/models/CommitStatus.java
+
3
-
3
View file @
e36455d5
...
...
@@ -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
;
...
...
@@ -69,11 +69,11 @@ public class CommitStatus {
this
.
finishedAt
=
finishedAt
;
}
public
Integer
getId
()
{
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
...
...
This diff is collapsed.
Click to expand it.
src/test/resources/org/gitlab4j/api/commit-status.json
+
1
-
1
View file @
e36455d5
...
...
@@ -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"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets