Skip to content

Conversation

@luvarqpp
Copy link
Contributor

There was not chance of throwing checked exception GitLabApiException from given three methods. I have removed them to make user code using given methods easier to read.

PS: If throwing GitLabApiException is wanted effect, I can make 'page' method throw them, instead of other exceptions (unchecked, like 'NoSuchElementException').

There was not chance of throwing checked exception GitLabApiException  from given three methods. I have removed them to make user code using given methods easier to read.
Copy link
Collaborator

@jmini jmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the reason why the checked exception were thrown here.

For me it is OK to remove them.

@jabby jabby merged commit a136fd0 into gitlab4j:master Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants