Skip to content

Conversation

@luvarqpp
Copy link
Contributor

Use StandardCharsets.UTF_8 (in java, since java 1.7), instead of "UTF-8" string. This removes necessity to throw a checked exception.

Copy link
Collaborator

@jabby jabby left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. I will merge it when master will be against Java 17.

@jmini
Copy link
Collaborator

jmini commented Feb 8, 2023

This change needs URLEncoder.html#encode(java.lang.String, java.nio.charset.Charset) which is not available with java 8.

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.

This PR is now OK against branch 6.x which is targeting Java 11.

Use StandardCharsets.UTF_8 instead of "UTF-8" string. This removes necessity to throw a checked exception.
@jmini jmini changed the base branch from main to 6.x April 13, 2023 07:20
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 have rebased this PR on top of 6.x (which uses Java 11)

@jmini jmini requested a review from jabby April 13, 2023 07:21
@jmini jmini merged commit e29ff30 into gitlab4j:6.x Apr 27, 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