Skip to content
GitLab
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
Mar 01, 2022
by
Paul Nyheim
Browse files
Fix gitlab4j#805 Increase CommitStatus id from Integer to Long
parent
5335c9e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/CommitStatus.java
View file @
e36455d5
...
@@ -13,7 +13,7 @@ public class CommitStatus {
...
@@ -13,7 +13,7 @@ public class CommitStatus {
private
Date
createdAt
;
private
Date
createdAt
;
private
String
description
;
private
String
description
;
private
Date
finishedAt
;
private
Date
finishedAt
;
private
Integer
id
;
private
Long
id
;
private
String
name
;
private
String
name
;
private
String
ref
;
private
String
ref
;
private
String
sha
;
private
String
sha
;
...
@@ -69,11 +69,11 @@ public class CommitStatus {
...
@@ -69,11 +69,11 @@ public class CommitStatus {
this
.
finishedAt
=
finishedAt
;
this
.
finishedAt
=
finishedAt
;
}
}
public
Integer
getId
()
{
public
Long
getId
()
{
return
id
;
return
id
;
}
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
src/test/resources/org/gitlab4j/api/commit-status.json
View file @
e36455d5
...
@@ -16,6 +16,6 @@
...
@@ -16,6 +16,6 @@
"sha"
:
"18f3e63d05582537db6d183d9d557be09e1f90c8"
,
"sha"
:
"18f3e63d05582537db6d183d9d557be09e1f90c8"
,
"target_url"
:
"https://gitlab.example.com/thedude/gitlab-ce/builds/91"
,
"target_url"
:
"https://gitlab.example.com/thedude/gitlab-ce/builds/91"
,
"finished_at"
:
"2016-01-19T08:40:25.934Z"
,
"finished_at"
:
"2016-01-19T08:40:25.934Z"
,
"id"
:
91
,
"id"
:
2148826854
,
"ref"
:
"master"
"ref"
:
"master"
}
}
\ No newline at end of file
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