Skip to content

Commit 5f23654

Browse files
authored
Remove deprecated "getNotes" methods (#1032)
1 parent ba5382c commit 5f23654

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

src/main/java/org/gitlab4j/api/NotesApi.java

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -15,57 +15,6 @@ public NotesApi(GitLabApi gitLabApi) {
1515
super(gitLabApi);
1616
}
1717

18-
/**
19-
* Get a list of the issues's notes.
20-
*
21-
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
22-
*
23-
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
24-
* @param issueIid the issue ID to get the notes for
25-
* @return a list of the issues's notes
26-
* @throws GitLabApiException if any exception occurs
27-
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long)}
28-
*/
29-
@Deprecated
30-
public List<Note> getNotes(Object projectIdOrPath, Long issueIid) throws GitLabApiException {
31-
return (getIssueNotes(projectIdOrPath, issueIid));
32-
}
33-
34-
/**
35-
* Get a list of the issue's notes using the specified page and per page settings.
36-
*
37-
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
38-
*
39-
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
40-
* @param issueIid the issue IID to get the notes for
41-
* @param page the page to get
42-
* @param perPage the number of notes per page
43-
* @return the list of notes in the specified range
44-
* @throws GitLabApiException if any exception occurs
45-
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long, int, int)}
46-
*/
47-
@Deprecated
48-
public List<Note> getNotes(Object projectIdOrPath, Long issueIid, int page, int perPage) throws GitLabApiException {
49-
return (getIssueNotes(projectIdOrPath, issueIid, page, perPage));
50-
}
51-
52-
/**
53-
* Get a Pager of issues's notes.
54-
*
55-
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes</code></pre>
56-
*
57-
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
58-
* @param issueIid the issue IID to get the notes for
59-
* @param itemsPerPage the number of notes per page
60-
* @return the list of notes in the specified range
61-
* @throws GitLabApiException if any exception occurs
62-
* @deprecated As of release 4.7.0, replaced by {@link #getIssueNotes(Object, Long, int)}
63-
*/
64-
@Deprecated
65-
public Pager<Note> getNotes(Object projectIdOrPath, Long issueIid, int itemsPerPage) throws GitLabApiException {
66-
return (getIssueNotes(projectIdOrPath, issueIid, itemsPerPage));
67-
}
68-
6918
/**
7019
* Get a list of the issues's notes.
7120
*

0 commit comments

Comments
 (0)