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
5f23654c
Unverified
Commit
5f23654c
authored
1 year ago
by
Jérémie Bresson
Committed by
GitHub
1 year ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove deprecated "getNotes" methods (#1032)
parent
ba5382c7
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/NotesApi.java
+0
-51
src/main/java/org/gitlab4j/api/NotesApi.java
with
0 additions
and
51 deletions
+0
-51
src/main/java/org/gitlab4j/api/NotesApi.java
+
0
-
51
View file @
5f23654c
...
...
@@ -15,57 +15,6 @@ public class NotesApi extends AbstractApi {
super
(
gitLabApi
);
}
/**
* Get a list of the issues's notes.
*
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
*
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @param issueIid the issue ID to get the notes for
* @return a list of the issues's notes
* @throws GitLabApiException if any exception occurs
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long)}
*/
@Deprecated
public
List
<
Note
>
getNotes
(
Object
projectIdOrPath
,
Long
issueIid
)
throws
GitLabApiException
{
return
(
getIssueNotes
(
projectIdOrPath
,
issueIid
));
}
/**
* Get a list of the issue's notes using the specified page and per page settings.
*
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
*
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @param issueIid the issue IID to get the notes for
* @param page the page to get
* @param perPage the number of notes per page
* @return the list of notes in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long, int, int)}
*/
@Deprecated
public
List
<
Note
>
getNotes
(
Object
projectIdOrPath
,
Long
issueIid
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
return
(
getIssueNotes
(
projectIdOrPath
,
issueIid
,
page
,
perPage
));
}
/**
* Get a Pager of issues's notes.
*
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
*
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @param issueIid the issue IID to get the notes for
* @param itemsPerPage the number of notes per page
* @return the list of notes in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long, int)}
*/
@Deprecated
public
Pager
<
Note
>
getNotes
(
Object
projectIdOrPath
,
Long
issueIid
,
int
itemsPerPage
)
throws
GitLabApiException
{
return
(
getIssueNotes
(
projectIdOrPath
,
issueIid
,
itemsPerPage
));
}
/**
* Get a list of the issues's notes.
*
...
...
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