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
24fbb5bc
Commit
24fbb5bc
authored
6 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Fixed RefType issue.
parent
e2ee6fef
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/gitlab4j/api/CommitsApi.java
+2
-3
src/main/java/org/gitlab4j/api/CommitsApi.java
with
2 additions
and
3 deletions
+2
-3
src/main/java/org/gitlab4j/api/CommitsApi.java
+
2
-
3
View file @
24fbb5bc
...
...
@@ -5,6 +5,7 @@ import org.gitlab4j.api.models.Commit;
import
org.gitlab4j.api.models.CommitAction
;
import
org.gitlab4j.api.models.CommitPayload
;
import
org.gitlab4j.api.models.CommitRef
;
import
org.gitlab4j.api.models.CommitRef.RefType
;
import
org.gitlab4j.api.models.Diff
;
import
org.gitlab4j.api.utils.ISO8601
;
...
...
@@ -17,8 +18,6 @@ import java.util.Date;
import
java.util.List
;
import
java.util.Optional
;
import
static
org
.
gitlab4j
.
api
.
models
.
CommitRef
.
RefType
.
all
;
/**
* This class implements the client side API for the GitLab commits calls.
*/
...
...
@@ -265,7 +264,7 @@ public class CommitsApi extends AbstractApi {
* @since Gitlab 10.6
*/
public
List
<
CommitRef
>
getCommitRefs
(
int
projectId
,
String
sha
)
throws
GitLabApiException
{
return
getCommitRefs
(
projectId
,
sha
,
all
);
return
getCommitRefs
(
projectId
,
sha
,
RefType
.
ALL
);
}
/**
...
...
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