|
4 | 4 | import java.util.Optional; |
5 | 5 | import java.util.stream.Stream; |
6 | 6 |
|
7 | | -import javax.ws.rs.core.GenericType; |
8 | | -import javax.ws.rs.core.Response; |
| 7 | +import jakarta.ws.rs.core.GenericType; |
| 8 | +import jakarta.ws.rs.core.Response; |
9 | 9 |
|
10 | 10 | import org.gitlab4j.api.models.Board; |
11 | 11 | import org.gitlab4j.api.models.BoardList; |
@@ -49,7 +49,7 @@ public List<Board> getBoards(Object projectIdOrPath) throws GitLabApiException { |
49 | 49 | * @throws GitLabApiException if any exception occurs |
50 | 50 | */ |
51 | 51 | public List<Board> getBoards(Object projectIdOrPath, int page, int perPage) throws GitLabApiException { |
52 | | - Response response = get(javax.ws.rs.core.Response.Status.OK, getPageQueryParams(page, perPage), |
| 52 | + Response response = get(jakarta.ws.rs.core.Response.Status.OK, getPageQueryParams(page, perPage), |
53 | 53 | "projects", getProjectIdOrPath(projectIdOrPath), "boards"); |
54 | 54 | return (response.readEntity(new GenericType<List<Board>>() {})); |
55 | 55 | } |
@@ -206,7 +206,7 @@ public List<BoardList> getBoardLists(Object projectIdOrPath, Long boardId) throw |
206 | 206 | * @throws GitLabApiException if any exception occurs |
207 | 207 | */ |
208 | 208 | public List<BoardList> getBoardLists(Object projectIdOrPath, Long boardId, int page, int perPage) throws GitLabApiException { |
209 | | - Response response = get(javax.ws.rs.core.Response.Status.OK, getPageQueryParams(page, perPage), |
| 209 | + Response response = get(jakarta.ws.rs.core.Response.Status.OK, getPageQueryParams(page, perPage), |
210 | 210 | "projects", getProjectIdOrPath(projectIdOrPath), "boards", boardId, "lists"); |
211 | 211 | return (response.readEntity(new GenericType<List<BoardList>>() {})); |
212 | 212 | } |
|
0 commit comments