Skip to content

Remove three checked GitLabApiException #928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 29, 2023
Merged

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